fix: complete rebrand - fix build, update URLs, author fields

This commit is contained in:
2026-02-01 09:11:33 +03:00
parent 10c3d99068
commit f575fdc611
31 changed files with 3637 additions and 2944 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
<!-- <!--
For general support, howto, coding and bundling questions, please For general support, howto, coding and bundling questions, please
use the Substrate & Polkadot StackExchange at use the PezkuwiChain Discord at
https://substrate.stackexchange.com/ https://discord.gg/Y3VyEC6h8W
and get other ecosystem developers involved. This issues in this and get other ecosystem developers involved. This issues in this
repository are meant for the tracking of feature requests and bug repository are meant for the tracking of feature requests and bug
+1 -1
View File
@@ -14,4 +14,4 @@ These are split from the `pezkuwi/util` repo where it is heavily used as part of
Contributions are welcome! Contributions are welcome!
To start off, this repo (along with others in the [@pezkuwi](https://github.com/pezkuwi/) family) uses yarn workspaces to organise the code. As such, after cloning, its dependencies _should_ be installed via `yarn`, not via npm; the latter will result in broken dependencies. To start off, this repo (along with others in the [@pezkuwichain](https://github.com/pezkuwichain/) family) uses yarn workspaces to organise the code. As such, after cloning, its dependencies _should_ be installed via `yarn`, not via npm; the latter will result in broken dependencies.
+4 -1
View File
@@ -7,7 +7,10 @@ export default [
...baseConfig, ...baseConfig,
{ {
ignores: [ ignores: [
'mod.ts' 'mod.ts',
'**/bytes.js',
'**/build/**',
'**/build-*/**'
] ]
} }
]; ];
+1 -1
View File
@@ -43,8 +43,8 @@
"test:wasm-crypto:rust": "cd packages/wasm-crypto && RUST_BACKTRACE=full cargo test --release -- --test-threads=1 --nocapture" "test:wasm-crypto:rust": "cd packages/wasm-crypto && RUST_BACKTRACE=full cargo test --release -- --test-threads=1 --nocapture"
}, },
"devDependencies": { "devDependencies": {
"@pezkuwi/dev": "^0.85.7",
"@pezkuwi/util": "^14.0.1", "@pezkuwi/util": "^14.0.1",
"@pezkuwi/dev": "^0.83.3",
"@types/node": "^20.16.1", "@types/node": "^20.16.1",
"fflate": "^0.8.2" "fflate": "^0.8.2"
}, },
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@pezkuwi/scure-sr25519", "name": "@pezkuwi/scure-sr25519",
"version": "0.2.0", "version": "0.2.1",
"description": "SR25519 cryptography for PezkuwiChain with bizinikiwi signing context", "description": "SR25519 cryptography for PezkuwiChain with bizinikiwi signing context",
"main": "lib/index.js", "main": "lib/index.js",
"module": "lib/esm/index.js", "module": "lib/esm/index.js",
@@ -22,6 +22,6 @@
}, },
"bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues", "bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues",
"homepage": "https://github.com/pezkuwichain/pezkuwi-wasm/tree/main/packages/scure-sr25519#readme", "homepage": "https://github.com/pezkuwichain/pezkuwi-wasm/tree/main/packages/scure-sr25519#readme",
"author": "PezkuwiChain", "author": "PezkuwiChain <dev@pezkuwichain.io>",
"license": "MIT" "license": "MIT"
} }
+3 -3
View File
@@ -1,5 +1,5 @@
{ {
"author": "Jaco Greeff <jacogr@gmail.com>", "author": "PezkuwiChain <dev@pezkuwichain.io>",
"bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues", "bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues",
"description": "A bridge layer between JS and Wasm", "description": "A bridge layer between JS and Wasm",
"engines": { "engines": {
@@ -18,10 +18,10 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "7.5.5", "version": "7.5.9",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@pezkuwi/wasm-util": "7.5.5", "@pezkuwi/wasm-util": "7.5.9",
"tslib": "^2.7.0" "tslib": "^2.7.0"
}, },
"devDependencies": { "devDependencies": {
+2 -2
View File
@@ -26,9 +26,9 @@ export function createWasmFn <C extends WasmBaseInstance> (root: 'crypto', wasmB
throw new Error('WebAssembly is not available in your environment'); throw new Error('WebAssembly is not available in your environment');
} }
const source = await WebAssembly.instantiate(wasmBytes, { wbg }); const source = await WebAssembly.instantiate(wasmBytes, { wbg }) as unknown as { instance: { exports: C } };
result.wasm = source.instance.exports as unknown as C; result.wasm = source.instance.exports;
result.type = 'wasm'; result.type = 'wasm';
} catch (error) { } catch (error) {
// if we have a valid supplied asm.js, return that // if we have a valid supplied asm.js, return that
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev // Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/wasm-bridge', path: 'auto', type: 'auto', version: '7.5.4' }; export const packageInfo = { name: '@pezkuwi/wasm-bridge', path: 'auto', type: 'auto', version: '7.5.9' };
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"author": "Jaco Greeff <jacogr@gmail.com>", "author": "PezkuwiChain <dev@pezkuwichain.io>",
"bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues", "bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues",
"description": "Asm.js content for wasm-crypto", "description": "Asm.js content for wasm-crypto",
"engines": { "engines": {
@@ -18,7 +18,7 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "7.5.5", "version": "7.5.9",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"tslib": "^2.7.0" "tslib": "^2.7.0"
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev // Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/wasm-crypto-asmjs', path: 'auto', type: 'auto', version: '7.5.4' }; export const packageInfo = { name: '@pezkuwi/wasm-crypto-asmjs', path: 'auto', type: 'auto', version: '7.5.9' };
+6 -6
View File
@@ -1,5 +1,5 @@
{ {
"author": "Jaco Greeff <jacogr@gmail.com>", "author": "PezkuwiChain <dev@pezkuwichain.io>",
"bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues", "bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues",
"description": "Init handlers for wasm-crypto", "description": "Init handlers for wasm-crypto",
"engines": { "engines": {
@@ -18,15 +18,15 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "7.5.5", "version": "7.5.9",
"browser": "wasm.js", "browser": "wasm.js",
"main": "wasm.js", "main": "wasm.js",
"react-native": "asm.js", "react-native": "asm.js",
"dependencies": { "dependencies": {
"@pezkuwi/wasm-bridge": "7.5.5", "@pezkuwi/wasm-bridge": "7.5.9",
"@pezkuwi/wasm-crypto-asmjs": "7.5.5", "@pezkuwi/wasm-crypto-asmjs": "7.5.9",
"@pezkuwi/wasm-crypto-wasm": "7.5.5", "@pezkuwi/wasm-crypto-wasm": "7.5.9",
"@pezkuwi/wasm-util": "7.5.5", "@pezkuwi/wasm-util": "7.5.9",
"tslib": "^2.7.0" "tslib": "^2.7.0"
}, },
"devDependencies": { "devDependencies": {
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev // Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/wasm-crypto-init', path: 'auto', type: 'auto', version: '7.5.4' }; export const packageInfo = { name: '@pezkuwi/wasm-crypto-init', path: 'auto', type: 'auto', version: '7.5.9' };
+3 -3
View File
@@ -1,5 +1,5 @@
{ {
"author": "Jaco Greeff <jacogr@gmail.com>", "author": "PezkuwiChain <dev@pezkuwichain.io>",
"bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues", "bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues",
"description": "Wasm content for wasm-crypto", "description": "Wasm content for wasm-crypto",
"engines": { "engines": {
@@ -18,10 +18,10 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "7.5.5", "version": "7.5.9",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@pezkuwi/wasm-util": "7.5.5", "@pezkuwi/wasm-util": "7.5.9",
"tslib": "^2.7.0" "tslib": "^2.7.0"
}, },
"devDependencies": { "devDependencies": {
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev // Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/wasm-crypto-wasm', path: 'auto', type: 'auto', version: '7.5.4' }; export const packageInfo = { name: '@pezkuwi/wasm-crypto-wasm', path: 'auto', type: 'auto', version: '7.5.9' };
+4
View File
@@ -0,0 +1,4 @@
target/
build-wasm/
*.wasm
Cargo.lock
+7 -7
View File
@@ -1,5 +1,5 @@
{ {
"author": "Jaco Greeff <jacogr@gmail.com>", "author": "PezkuwiChain <dev@pezkuwichain.io>",
"bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues", "bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues",
"description": "A wasm interface layer for use by @pezkuwi/util-crypto", "description": "A wasm interface layer for use by @pezkuwi/util-crypto",
"engines": { "engines": {
@@ -26,14 +26,14 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "7.5.5", "version": "7.5.9",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@pezkuwi/wasm-bridge": "7.5.5", "@pezkuwi/wasm-bridge": "7.5.9",
"@pezkuwi/wasm-crypto-asmjs": "7.5.5", "@pezkuwi/wasm-crypto-asmjs": "7.5.9",
"@pezkuwi/wasm-crypto-init": "7.5.5", "@pezkuwi/wasm-crypto-init": "7.5.9",
"@pezkuwi/wasm-crypto-wasm": "7.5.5", "@pezkuwi/wasm-crypto-wasm": "7.5.9",
"@pezkuwi/wasm-util": "7.5.5", "@pezkuwi/wasm-util": "7.5.9",
"tslib": "^2.7.0" "tslib": "^2.7.0"
}, },
"devDependencies": { "devDependencies": {
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev // Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/wasm-crypto', path: 'auto', type: 'auto', version: '7.5.4' }; export const packageInfo = { name: '@pezkuwi/wasm-crypto', path: 'auto', type: 'auto', version: '7.5.9' };
+1
View File
@@ -10,6 +10,7 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore This should only run against the compiled ouput, where this should exist // @ts-ignore This should only run against the compiled ouput, where this should exist
import * as wasm from '../build-deno/mod.ts'; import * as wasm from '../build-deno/mod.ts';
// @ts-ignore Test file, types not needed
import { initRun, tests } from './all/index.js'; import { initRun, tests } from './all/index.js';
type Tests = Record<string, (wasm: unknown) => void>; type Tests = Record<string, (wasm: unknown) => void>;
+1
View File
@@ -9,6 +9,7 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore This should only run against the compiled ouput, where this should exist // @ts-ignore This should only run against the compiled ouput, where this should exist
import * as wasm from '../build/index.js'; import * as wasm from '../build/index.js';
// @ts-ignore Test file, types not needed
import { initRun, tests } from './all/index.js'; import { initRun, tests } from './all/index.js';
describe('wasm-crypto', (): void => { describe('wasm-crypto', (): void => {
+2 -2
View File
@@ -1,5 +1,5 @@
{ {
"author": "Jaco Greeff <jacogr@gmail.com>", "author": "PezkuwiChain <dev@pezkuwichain.io>",
"bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues", "bugs": "https://github.com/pezkuwichain/pezkuwi-wasm/issues",
"description": "Utilities used exclusively inside Wasm decoding", "description": "Utilities used exclusively inside Wasm decoding",
"engines": { "engines": {
@@ -18,7 +18,7 @@
"./packageDetect.cjs" "./packageDetect.cjs"
], ],
"type": "module", "type": "module",
"version": "7.5.5", "version": "7.5.9",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"tslib": "^2.7.0" "tslib": "^2.7.0"
+1 -1
View File
@@ -9,7 +9,7 @@
// This only contains the unzlibSync function, no compression, no async, no workers // This only contains the unzlibSync function, no compression, no async, no workers
// //
// These 2 issues are addressed as a short-term, stop-gap solution // These 2 issues are addressed as a short-term, stop-gap solution
// - https://github.com/pezkuwi/api/issues/2963 // - https://github.com/pezkuwichain/pezkuwi-api/issues/2963
// - https://github.com/101arrowz/fflate/issues/17 // - https://github.com/101arrowz/fflate/issues/17
// //
// Only tweaks made here are some TS adjustments (we use strict null checks), // Only tweaks made here are some TS adjustments (we use strict null checks),
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @pezkuwi/dev // Do not edit, auto-generated by @pezkuwi/dev
export const packageInfo = { name: '@pezkuwi/wasm-util', path: 'auto', type: 'auto', version: '7.5.4' }; export const packageInfo = { name: '@pezkuwi/wasm-util', path: 'auto', type: 'auto', version: '7.5.9' };
+3 -3
View File
@@ -1,9 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright 2019-2025 @polkadot/wasm authors & contributors # Copyright 2019-2025 @pezkuwi/wasm authors & contributors
# This software may be modified and distributed under the terms # This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details. # of the Apache-2.0 license. See the LICENSE file for details.
set -e set -e
yarn polkadot-dev-clean-build yarn pezkuwi-dev-clean-build
yarn polkadot-dev-build-ts yarn pezkuwi-dev-build-ts
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright 2019-2025 @polkadot/wasm authors & contributors # Copyright 2019-2025 @pezkuwi/wasm authors & contributors
# This software may be modified and distributed under the terms # This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details. # of the Apache-2.0 license. See the LICENSE file for details.
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright 2019-2025 @polkadot/wasm authors & contributors # Copyright 2019-2025 @pezkuwi/wasm authors & contributors
# This software may be modified and distributed under the terms # This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details. # of the Apache-2.0 license. See the LICENSE file for details.
+2 -2
View File
@@ -1,11 +1,11 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright 2019-2025 @polkadot/wasm authors & contributors # Copyright 2019-2025 @pezkuwi/wasm authors & contributors
# This software may be modified and distributed under the terms # This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details. # of the Apache-2.0 license. See the LICENSE file for details.
set -e set -e
yarn polkadot-dev-clean-build yarn pezkuwi-dev-clean-build
cd packages/wasm-crypto cd packages/wasm-crypto
cargo clean cargo clean
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright 2019-2025 @polkadot/wasm authors & contributors # Copyright 2019-2025 @pezkuwi/wasm authors & contributors
# This software may be modified and distributed under the terms # This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details. # of the Apache-2.0 license. See the LICENSE file for details.
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright 2019-2025 @polkadot/wasm authors & contributors # Copyright 2019-2025 @pezkuwi/wasm authors & contributors
# This software may be modified and distributed under the terms # This software may be modified and distributed under the terms
# of the Apache-2.0 license. See the LICENSE file for details. # of the Apache-2.0 license. See the LICENSE file for details.
+3574 -2894
View File
File diff suppressed because it is too large Load Diff