Skip to content

Commit

Permalink
12.2.1 (#1829)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr authored May 13, 2023
1 parent e5373c3 commit 5272645
Show file tree
Hide file tree
Showing 18 changed files with 327 additions and 295 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# CHANGELOG

## master
## 12.2.1 May 13, 2023

Changes:

- Align `u8aToBigInt` tests with `u8aToBn`
- Unroll loops on most-frequently used paths for `u8aToBigInt`
- Add `module` to `package.json` export map (ESM-only)
- Upgrade dependencies to latest stable versions


## 12.1.2 May 1, 2023
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"sideEffects": false,
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"versions": {
"git": "12.1.3-2-x",
"npm": "12.1.2"
Expand All @@ -37,8 +37,8 @@
"test:one": "polkadot-dev-run-test --env browser"
},
"devDependencies": {
"@polkadot/dev": "^0.73.11",
"@types/node": "^20.1.0"
"@polkadot/dev": "^0.73.17",
"@types/node": "^20.1.3"
},
"resolutions": {
"typescript": "^5.0.4"
Expand Down
12 changes: 6 additions & 6 deletions packages/hw-ledger-transports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
},
"sideEffects": false,
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@ledgerhq/hw-transport": "^6.28.2",
"@ledgerhq/hw-transport-webhid": "^6.27.13",
"@ledgerhq/hw-transport-webusb": "^6.27.13",
"@polkadot/util": "12.1.3-2-x",
"@ledgerhq/hw-transport": "^6.28.3",
"@ledgerhq/hw-transport-webhid": "^6.27.14",
"@ledgerhq/hw-transport-webusb": "^6.27.14",
"@polkadot/util": "12.2.0",
"tslib": "^2.5.0"
},
"optionalDependencies": {
"@ledgerhq/hw-transport-node-hid-singleton": "^6.28.10"
"@ledgerhq/hw-transport-node-hid-singleton": "^6.28.11"
}
}
6 changes: 3 additions & 3 deletions packages/hw-ledger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"main": "index.js",
"dependencies": {
"@polkadot/hw-ledger-transports": "12.1.3-2-x",
"@polkadot/util": "12.1.3-2-x",
"@polkadot/hw-ledger-transports": "12.2.0",
"@polkadot/util": "12.2.0",
"@zondax/ledger-substrate": "^0.40.7",
"tslib": "^2.5.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/hw-ledger/src/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class Ledger {
}

/**
* Signs a transcation on the Ledger device
* Signs a transaction on the Ledger device
*/
public async sign (message: Uint8Array, accountOffset = 0, addressOffset = 0, { account = LEDGER_DEFAULT_ACCOUNT, addressIndex = LEDGER_DEFAULT_INDEX, change = LEDGER_DEFAULT_CHANGE }: Partial<AccountOptions> = {}): Promise<LedgerSignature> {
return this.withApp(async (app: SubstrateApp): Promise<LedgerSignature> => {
Expand Down
10 changes: 5 additions & 5 deletions packages/keyring/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"main": "index.js",
"dependencies": {
"@polkadot/util": "12.1.3-2-x",
"@polkadot/util-crypto": "12.1.3-2-x",
"@polkadot/util": "12.2.0",
"@polkadot/util-crypto": "12.2.0",
"tslib": "^2.5.0"
},
"peerDependencies": {
"@polkadot/util": "12.1.3-2-x",
"@polkadot/util-crypto": "12.1.3-2-x"
"@polkadot/util": "12.2.0",
"@polkadot/util-crypto": "12.2.0"
}
}
6 changes: 3 additions & 3 deletions packages/networks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
},
"sideEffects": false,
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"main": "index.js",
"dependencies": {
"@polkadot/util": "12.1.3-2-x",
"@polkadot/util": "12.2.0",
"@substrate/ss58-registry": "^1.40.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/hw-ledger": "12.1.3-2-x"
"@polkadot/hw-ledger": "12.2.0"
}
}
16 changes: 8 additions & 8 deletions packages/util-crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"browser": {
"crypto": false,
"stream": false
Expand All @@ -29,16 +29,16 @@
"dependencies": {
"@noble/curves": "1.0.0",
"@noble/hashes": "1.3.0",
"@polkadot/networks": "12.1.3-2-x",
"@polkadot/util": "12.1.3-2-x",
"@polkadot/wasm-crypto": "^7.1.2",
"@polkadot/wasm-util": "^7.1.2",
"@polkadot/x-bigint": "12.1.3-2-x",
"@polkadot/x-randomvalues": "12.1.3-2-x",
"@polkadot/networks": "12.2.0",
"@polkadot/util": "12.2.0",
"@polkadot/wasm-crypto": "^7.2.1",
"@polkadot/wasm-util": "^7.2.1",
"@polkadot/x-bigint": "12.2.0",
"@polkadot/x-randomvalues": "12.2.0",
"@scure/base": "1.1.1",
"tslib": "^2.5.0"
},
"peerDependencies": {
"@polkadot/util": "12.1.3-2-x"
"@polkadot/util": "12.2.0"
}
}
12 changes: 6 additions & 6 deletions packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"./detectPackage.cjs"
],
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"main": "index.js",
"exports": {
"./hex/toU8a": {
Expand All @@ -35,15 +35,15 @@
}
},
"dependencies": {
"@polkadot/x-bigint": "12.1.3-2-x",
"@polkadot/x-global": "12.1.3-2-x",
"@polkadot/x-textdecoder": "12.1.3-2-x",
"@polkadot/x-textencoder": "12.1.3-2-x",
"@polkadot/x-bigint": "12.2.0",
"@polkadot/x-global": "12.2.0",
"@polkadot/x-textdecoder": "12.2.0",
"@polkadot/x-textencoder": "12.2.0",
"@types/bn.js": "^5.1.1",
"bn.js": "^5.2.1",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/x-randomvalues": "12.1.3-2-x"
"@polkadot/x-randomvalues": "12.2.0"
}
}
4 changes: 2 additions & 2 deletions packages/x-bigint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"./shim.cjs"
],
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"dependencies": {
"@polkadot/x-global": "12.1.3-2-x",
"@polkadot/x-global": "12.2.0",
"tslib": "^2.5.0"
}
}
4 changes: 2 additions & 2 deletions packages/x-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
},
"sideEffects": false,
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"main": "index.js",
"dependencies": {
"@polkadot/util": "12.1.3-2-x",
"@polkadot/util": "12.2.0",
"buffer-es6": "^4.9.3",
"tslib": "^2.5.0"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/x-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
},
"sideEffects": false,
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.1.3-2-x",
"@polkadot/x-global": "12.2.0",
"node-fetch": "^3.3.1",
"tslib": "^2.5.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/x-global/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"sideEffects": false,
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"main": "index.js",
"dependencies": {
"tslib": "^2.5.0"
Expand Down
12 changes: 6 additions & 6 deletions packages/x-randomvalues/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@
},
"sideEffects": false,
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.1.3-2-x",
"@polkadot/x-global": "12.2.0",
"tslib": "^2.5.0"
},
"devDependencies": {
"@polkadot/util": "12.1.3-2-x",
"@polkadot/wasm-util": "^7.1.2",
"@types/react-native": "^0.71.6"
"@polkadot/util": "12.2.0",
"@polkadot/wasm-util": "^7.2.1",
"@types/react-native": "^0.72.0"
},
"peerDependencies": {
"@polkadot/util": "12.1.3-2-x",
"@polkadot/util": "12.2.0",
"@polkadot/wasm-util": "*"
}
}
4 changes: 2 additions & 2 deletions packages/x-textdecoder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
},
"sideEffects": false,
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.1.3-2-x",
"@polkadot/x-global": "12.2.0",
"tslib": "^2.5.0"
}
}
4 changes: 2 additions & 2 deletions packages/x-textencoder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
},
"sideEffects": false,
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.1.3-2-x",
"@polkadot/x-global": "12.2.0",
"tslib": "^2.5.0"
}
}
4 changes: 2 additions & 2 deletions packages/x-ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
},
"sideEffects": false,
"type": "module",
"version": "12.1.3-2-x",
"version": "12.2.0",
"browser": "browser.js",
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@polkadot/x-global": "12.1.3-2-x",
"@polkadot/x-global": "12.2.0",
"tslib": "^2.5.0",
"ws": "^8.13.0"
},
Expand Down
Loading

0 comments on commit 5272645

Please sign in to comment.