Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aafd0a90c7 | ||
|
|
e64eb91ba9 | ||
|
|
02947a1c08 | ||
|
|
5a44d3b6e0 | ||
|
|
0bac3d4915 | ||
|
|
ab3f0253bd | ||
|
|
6f199db86a | ||
|
|
a95bca939d | ||
|
|
c5446d6fef | ||
|
|
b1ec8d160a |
@@ -1,5 +1,21 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 12.0.2 June 27, 2024
|
||||
|
||||
**Important Changes**:
|
||||
|
||||
- `withSignedTransaction`: This option has been added to `SignerOptions`. When using `signAndSend`, `signAsync`, and `dryRun` you may now enable or disable the use of the `signedTransaction` field by adding the `withSignedTransaction` option. When withSignedTransaction is not enabled but the signer adds a signedTransaction the api will error.
|
||||
- Always disabled by default.
|
||||
- This ensures no big breaking changes happen to the interface of `signPayload`.
|
||||
- `withSignedTransaction` has also been added to the `SignerPayload` type which allows for `payload.toPayload()` to include the option.
|
||||
- `signAsync`: now accepts the `signedTransaction` field as well. This means that if `withSignedTransaction` is enabled, and `signedTransaction` is present the api will adjust the current payload attached to the SubmittableExtrinsic, and add the signature. Then the user can call `.send()` as they please.
|
||||
- `dryRun`: All steps will be the same as signAsync with the exception that .send() has never needed to be called.
|
||||
|
||||
Contributed:
|
||||
|
||||
- Add LocationToAccountApi::convert_location runtime API (Thanks to https://github.com/bkontur)
|
||||
|
||||
|
||||
## 12.0.1 June 24, 2024
|
||||
|
||||
**Important Changes**:
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
3512 Jaco Bump deps (#5785)
|
||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||
64 Tarik Gul 12.0.1 (#5916)
|
||||
67 Tarik Gul 12.0.2 (#5924)
|
||||
37 Keith Ingram Update contract types and rpc (#4541)
|
||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
|
||||
@@ -11,6 +11,7 @@
|
||||
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
|
||||
6 Andreea Eftene Update check for contract instantiation (#5699)
|
||||
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
|
||||
5 Branislav Kontur Adjusted `LocationToAccountApi` (#5919)
|
||||
5 Chevdor Fix metadata package link (#3458)
|
||||
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
|
||||
5 Julien Eluard General WsProvider extensibility improvements (#5467)
|
||||
@@ -25,7 +26,6 @@
|
||||
3 André Silva add support for ValidationCodeHash (#3640)
|
||||
3 Antoine Estienne Adapted to display moonbeam author (#3108)
|
||||
3 Arjan Zijderveld Added `Emergency` to `ElectionPhase` (#3707)
|
||||
3 Branislav Kontur Added FungiblesApi version 2 (#5687)
|
||||
3 Ewa Kowalska Handle no council for bounties proposals (#3062)
|
||||
3 hamidra add support for n key entries for NMaps (#3886)
|
||||
3 Hamza Tokuchi more typos (#2532)
|
||||
|
||||
+3
-3
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"versions": {
|
||||
"git": "12.0.1",
|
||||
"npm": "12.0.1"
|
||||
"git": "12.0.2",
|
||||
"npm": "12.0.2"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-base": "12.0.1",
|
||||
"@polkadot/rpc-augment": "12.0.1",
|
||||
"@polkadot/types": "12.0.1",
|
||||
"@polkadot/types-augment": "12.0.1",
|
||||
"@polkadot/types-codec": "12.0.1",
|
||||
"@polkadot/api-base": "12.0.2",
|
||||
"@polkadot/rpc-augment": "12.0.2",
|
||||
"@polkadot/types": "12.0.2",
|
||||
"@polkadot/types-augment": "12.0.2",
|
||||
"@polkadot/types-codec": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "12.0.1",
|
||||
"@polkadot/types": "12.0.1",
|
||||
"@polkadot/rpc-core": "12.0.2",
|
||||
"@polkadot/types": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -19,6 +19,7 @@ export interface SignerOptions {
|
||||
assetId?: AnyNumber | object;
|
||||
mode?: AnyNumber;
|
||||
metadataHash?: AnyU8a;
|
||||
withSignedTransaction?: boolean;
|
||||
}
|
||||
|
||||
export type SubmittableDryRunResult<ApiType extends ApiTypes> =
|
||||
@@ -66,6 +67,15 @@ export interface SubmittableExtrinsic<ApiType extends ApiTypes, R extends ISubmi
|
||||
|
||||
send (statusCb: Callback<R>): SubmittableResultSubscription<ApiType, R>;
|
||||
|
||||
/**
|
||||
* @description Sign and broadcast the constructued transaction.
|
||||
*
|
||||
* Note for injected signers:
|
||||
* As of v12.0.2 and up the `SignerResult` return type for `signPayload` allows for the `signedTransaction` field.
|
||||
* This allows the signer to input a signed transaction that will modify the payload. This
|
||||
* The api will ensure that the Call Data is not changed. This allows for the signer to modify the payload to add
|
||||
* things like `mode`, and `metadataHash` for signedExtensions such as `CheckMetadataHash`.
|
||||
*/
|
||||
signAsync (account: AddressOrPair, _options?: Partial<SignerOptions>): PromiseOrObs<ApiType, this>;
|
||||
|
||||
/**
|
||||
|
||||
@@ -18,22 +18,22 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "12.0.1",
|
||||
"@polkadot/api-augment": "12.0.1",
|
||||
"@polkadot/types": "12.0.1",
|
||||
"@polkadot/types-codec": "12.0.1",
|
||||
"@polkadot/types-create": "12.0.1",
|
||||
"@polkadot/api": "12.0.2",
|
||||
"@polkadot/api-augment": "12.0.2",
|
||||
"@polkadot/types": "12.0.2",
|
||||
"@polkadot/types-codec": "12.0.2",
|
||||
"@polkadot/types-create": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "12.0.1",
|
||||
"@polkadot/api-augment": "12.0.2",
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/types-support": "12.0.1"
|
||||
"@polkadot/types-support": "12.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -18,25 +18,25 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "12.0.1",
|
||||
"@polkadot/api-augment": "12.0.1",
|
||||
"@polkadot/api-base": "12.0.1",
|
||||
"@polkadot/rpc-core": "12.0.1",
|
||||
"@polkadot/types": "12.0.1",
|
||||
"@polkadot/types-codec": "12.0.1",
|
||||
"@polkadot/api": "12.0.2",
|
||||
"@polkadot/api-augment": "12.0.2",
|
||||
"@polkadot/api-base": "12.0.2",
|
||||
"@polkadot/rpc-core": "12.0.2",
|
||||
"@polkadot/types": "12.0.2",
|
||||
"@polkadot/types-codec": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "12.0.1",
|
||||
"@polkadot/api-augment": "12.0.1",
|
||||
"@polkadot/rpc-augment": "12.0.1",
|
||||
"@polkadot/rpc-provider": "12.0.1",
|
||||
"@polkadot/types-support": "12.0.1"
|
||||
"@polkadot/api": "12.0.2",
|
||||
"@polkadot/api-augment": "12.0.2",
|
||||
"@polkadot/rpc-augment": "12.0.2",
|
||||
"@polkadot/rpc-provider": "12.0.2",
|
||||
"@polkadot/types-support": "12.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
+14
-14
@@ -18,21 +18,21 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-augment": "12.0.1",
|
||||
"@polkadot/api-base": "12.0.1",
|
||||
"@polkadot/api-derive": "12.0.1",
|
||||
"@polkadot/api-augment": "12.0.2",
|
||||
"@polkadot/api-base": "12.0.2",
|
||||
"@polkadot/api-derive": "12.0.2",
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/rpc-augment": "12.0.1",
|
||||
"@polkadot/rpc-core": "12.0.1",
|
||||
"@polkadot/rpc-provider": "12.0.1",
|
||||
"@polkadot/types": "12.0.1",
|
||||
"@polkadot/types-augment": "12.0.1",
|
||||
"@polkadot/types-codec": "12.0.1",
|
||||
"@polkadot/types-create": "12.0.1",
|
||||
"@polkadot/types-known": "12.0.1",
|
||||
"@polkadot/rpc-augment": "12.0.2",
|
||||
"@polkadot/rpc-core": "12.0.2",
|
||||
"@polkadot/rpc-provider": "12.0.2",
|
||||
"@polkadot/types": "12.0.2",
|
||||
"@polkadot/types-augment": "12.0.2",
|
||||
"@polkadot/types-codec": "12.0.2",
|
||||
"@polkadot/types-create": "12.0.2",
|
||||
"@polkadot/types-known": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"eventemitter3": "^5.0.1",
|
||||
@@ -40,7 +40,7 @@
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "12.0.1",
|
||||
"@polkadot/types-support": "12.0.1"
|
||||
"@polkadot/api-augment": "12.0.2",
|
||||
"@polkadot/types-support": "12.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -340,16 +340,37 @@ export function createClass <ApiType extends ApiTypes> ({ api, apiType, blockHas
|
||||
if (isFunction(signer.signPayload)) {
|
||||
result = await signer.signPayload(payload.toPayload());
|
||||
|
||||
// When the signedTransaction is included by the signer, we no longer add
|
||||
// the signature to the parent class, but instead broadcast the signed transaction directly.
|
||||
if (result.signedTransaction) {
|
||||
if (result.signedTransaction && !options.withSignedTransaction) {
|
||||
throw new Error('The `signedTransaction` field may not be submitted when `withSignedTransaction` is disabled');
|
||||
}
|
||||
|
||||
if (result.signedTransaction && options.withSignedTransaction) {
|
||||
const ext = this.registry.createTypeUnsafe<Extrinsic>('Extrinsic', [result.signedTransaction]);
|
||||
const newSignerPayload = this.registry.createTypeUnsafe<SignerPayload>('SignerPayload', [objectSpread({}, {
|
||||
address,
|
||||
assetId: ext.assetId ? ext.assetId.toHex() : null,
|
||||
blockHash: payload.blockHash,
|
||||
blockNumber: header ? header.number : 0,
|
||||
era: ext.era.toHex(),
|
||||
genesisHash: payload.genesisHash,
|
||||
metadataHash: ext.metadataHash ? ext.metadataHash.toHex() : null,
|
||||
method: ext.method.toHex(),
|
||||
mode: ext.mode ? ext.mode.toHex() : null,
|
||||
nonce: ext.nonce.toHex(),
|
||||
runtimeVersion: payload.runtimeVersion,
|
||||
signedExtensions: payload.signedExtensions,
|
||||
tip: ext.tip.toHex(),
|
||||
version: payload.version
|
||||
})]);
|
||||
|
||||
if (!ext.isSigned) {
|
||||
throw new Error(`When using the signedTransaction field, the transaction must be signed. Recieved isSigned: ${ext.isSigned}`);
|
||||
}
|
||||
|
||||
this.#validateSignedTransaction(payload, ext);
|
||||
// This is only used for signAsync - signAndSend does not need to adjust the super payload or
|
||||
// add the signature.
|
||||
super.addSignature(address, result.signature, newSignerPayload.toPayload());
|
||||
|
||||
return { id: result.id, signedTransaction: result.signedTransaction };
|
||||
}
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "12.0.1",
|
||||
"@polkadot/types": "12.0.1",
|
||||
"@polkadot/types-codec": "12.0.1",
|
||||
"@polkadot/rpc-core": "12.0.2",
|
||||
"@polkadot/types": "12.0.2",
|
||||
"@polkadot/types-codec": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -18,18 +18,18 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-augment": "12.0.1",
|
||||
"@polkadot/rpc-provider": "12.0.1",
|
||||
"@polkadot/types": "12.0.1",
|
||||
"@polkadot/rpc-augment": "12.0.2",
|
||||
"@polkadot/rpc-provider": "12.0.2",
|
||||
"@polkadot/types": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/rpc-augment": "12.0.1"
|
||||
"@polkadot/rpc-augment": "12.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/types": "12.0.1",
|
||||
"@polkadot/types-support": "12.0.1",
|
||||
"@polkadot/types": "12.0.2",
|
||||
"@polkadot/types-support": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"@polkadot/x-fetch": "^12.6.2",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||
@@ -28,15 +28,15 @@
|
||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/api": "12.0.1",
|
||||
"@polkadot/api-augment": "12.0.1",
|
||||
"@polkadot/rpc-augment": "12.0.1",
|
||||
"@polkadot/rpc-provider": "12.0.1",
|
||||
"@polkadot/types": "12.0.1",
|
||||
"@polkadot/types-augment": "12.0.1",
|
||||
"@polkadot/types-codec": "12.0.1",
|
||||
"@polkadot/types-create": "12.0.1",
|
||||
"@polkadot/types-support": "12.0.1",
|
||||
"@polkadot/api": "12.0.2",
|
||||
"@polkadot/api-augment": "12.0.2",
|
||||
"@polkadot/rpc-augment": "12.0.2",
|
||||
"@polkadot/rpc-provider": "12.0.2",
|
||||
"@polkadot/types": "12.0.2",
|
||||
"@polkadot/types-augment": "12.0.2",
|
||||
"@polkadot/types-codec": "12.0.2",
|
||||
"@polkadot/types-create": "12.0.2",
|
||||
"@polkadot/types-support": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"@polkadot/x-ws": "^12.6.2",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types": "12.0.1",
|
||||
"@polkadot/types-codec": "12.0.1",
|
||||
"@polkadot/types": "12.0.2",
|
||||
"@polkadot/types-codec": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -74,6 +74,7 @@ import type { ClassDetails, ClassId, ClassMetadata, DepositBalance, DepositBalan
|
||||
import type { Multisig, Timepoint } from '@polkadot/types/interfaces/utility';
|
||||
import type { VestingInfo } from '@polkadot/types/interfaces/vesting';
|
||||
import type { AssetInstance, AssetInstanceV0, AssetInstanceV1, AssetInstanceV2, BodyId, BodyPart, DoubleEncodedCall, Fungibility, FungibilityV0, FungibilityV1, FungibilityV2, InboundStatus, InstructionV2, InteriorMultiLocation, Junction, JunctionV0, JunctionV1, JunctionV2, Junctions, JunctionsV1, JunctionsV2, MultiAsset, MultiAssetFilter, MultiAssetFilterV1, MultiAssetFilterV2, MultiAssetV0, MultiAssetV1, MultiAssetV2, MultiAssets, MultiAssetsV1, MultiAssetsV2, MultiLocation, MultiLocationV0, MultiLocationV1, MultiLocationV2, NetworkId, OriginKindV0, OriginKindV1, OriginKindV2, OutboundStatus, Outcome, QueryId, QueryStatus, QueueConfigData, Response, ResponseV0, ResponseV1, ResponseV2, ResponseV2Error, ResponseV2Result, VersionMigrationStage, VersionedMultiAsset, VersionedMultiAssets, VersionedMultiLocation, VersionedResponse, VersionedXcm, WeightLimitV2, WildFungibility, WildFungibilityV0, WildFungibilityV1, WildFungibilityV2, WildMultiAsset, WildMultiAssetV1, WildMultiAssetV2, Xcm, XcmAssetId, XcmError, XcmErrorV0, XcmErrorV1, XcmErrorV2, XcmOrder, XcmOrderV0, XcmOrderV1, XcmOrderV2, XcmOrigin, XcmOriginKind, XcmV0, XcmV1, XcmV2, XcmVersion, XcmpMessageFormat } from '@polkadot/types/interfaces/xcm';
|
||||
import type { Error } from '@polkadot/types/interfaces/xcmRuntimeApi';
|
||||
|
||||
declare module '@polkadot/types/types/registry' {
|
||||
interface InterfaceTypes {
|
||||
@@ -400,6 +401,7 @@ declare module '@polkadot/types/types/registry' {
|
||||
EraPoints: EraPoints;
|
||||
EraRewardPoints: EraRewardPoints;
|
||||
EraRewards: EraRewards;
|
||||
Error: Error;
|
||||
ErrorMetadataLatest: ErrorMetadataLatest;
|
||||
ErrorMetadataV10: ErrorMetadataV10;
|
||||
ErrorMetadataV11: ErrorMetadataV11;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^12.6.2",
|
||||
@@ -26,9 +26,9 @@
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "12.0.1",
|
||||
"@polkadot/types-augment": "12.0.1",
|
||||
"@polkadot/types-support": "12.0.1",
|
||||
"@polkadot/types": "12.0.2",
|
||||
"@polkadot/types-augment": "12.0.2",
|
||||
"@polkadot/types-support": "12.0.2",
|
||||
"@polkadot/util-crypto": "^12.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types-codec": "12.0.1",
|
||||
"@polkadot/types-codec": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "12.0.1"
|
||||
"@polkadot/types": "12.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/networks": "^12.6.2",
|
||||
"@polkadot/types": "12.0.1",
|
||||
"@polkadot/types-codec": "12.0.1",
|
||||
"@polkadot/types-create": "12.0.1",
|
||||
"@polkadot/types": "12.0.2",
|
||||
"@polkadot/types-codec": "12.0.2",
|
||||
"@polkadot/types-create": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "12.0.1"
|
||||
"@polkadot/api": "12.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^12.6.2",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "12.0.1",
|
||||
"version": "12.0.2",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/types-augment": "12.0.1",
|
||||
"@polkadot/types-codec": "12.0.1",
|
||||
"@polkadot/types-create": "12.0.1",
|
||||
"@polkadot/types-augment": "12.0.2",
|
||||
"@polkadot/types-codec": "12.0.2",
|
||||
"@polkadot/types-create": "12.0.2",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
@@ -32,6 +32,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/types-support": "12.0.1"
|
||||
"@polkadot/types-support": "12.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,8 @@ describe('SignerPayload', (): void => {
|
||||
specVersion: '0x00000006',
|
||||
tip: '0x00000000000000000000000000005678',
|
||||
transactionVersion: '0x00000007',
|
||||
version: 4
|
||||
version: 4,
|
||||
withSignedTransaction: false
|
||||
};
|
||||
|
||||
it('creates a valid JSON output', (): void => {
|
||||
@@ -50,7 +51,8 @@ describe('SignerPayload', (): void => {
|
||||
nonce: 0x1234,
|
||||
signedExtensions: ['CheckNonce'],
|
||||
tip: 0x5678,
|
||||
version: 4
|
||||
version: 4,
|
||||
withSignedTransaction: true
|
||||
}).toPayload()
|
||||
).toEqual({
|
||||
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
|
||||
@@ -68,7 +70,8 @@ describe('SignerPayload', (): void => {
|
||||
specVersion: '0x00000000',
|
||||
tip: '0x00000000000000000000000000005678',
|
||||
transactionVersion: '0x00000000',
|
||||
version: 4
|
||||
version: 4,
|
||||
withSignedTransaction: true
|
||||
});
|
||||
});
|
||||
|
||||
@@ -164,7 +167,8 @@ describe('SignerPayload', (): void => {
|
||||
specVersion: '0x00000006',
|
||||
tip: '0x00000000000000000000000000005678',
|
||||
transactionVersion: '0x00000007',
|
||||
version: 4
|
||||
version: 4,
|
||||
withSignedTransaction: false
|
||||
};
|
||||
|
||||
it('can build SignerPayload without additional SignedExtensions', (): void => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2024 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Text, Vec } from '@polkadot/types-codec';
|
||||
import type { bool, Text, Vec } from '@polkadot/types-codec';
|
||||
import type { AnyJson, Registry } from '@polkadot/types-codec/types';
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { Address, BlockHash, Call, ExtrinsicEra, Hash, MultiLocation } from '../interfaces/index.js';
|
||||
@@ -55,7 +55,7 @@ export class GenericSignerPayload extends Struct implements ISignerPayload, Sign
|
||||
constructor (registry: Registry, value?: HexString | Record<string, unknown> | Map<unknown, unknown> | unknown[]) {
|
||||
const extensionTypes = objectSpread<Record<string, string>>({}, registry.getSignedExtensionTypes(), registry.getSignedExtensionExtra());
|
||||
|
||||
super(registry, objectSpread<Record<string, string>>({}, extensionTypes, knownTypes), value);
|
||||
super(registry, objectSpread<Record<string, string>>({}, extensionTypes, knownTypes, { withSignedTransaction: 'bool' }), value);
|
||||
|
||||
this.#extraTypes = {};
|
||||
const getter = (key: string) => this.get(key);
|
||||
@@ -126,6 +126,12 @@ export class GenericSignerPayload extends Struct implements ISignerPayload, Sign
|
||||
return this.getT('metadataHash');
|
||||
}
|
||||
|
||||
get withSignedTransaction (): boolean {
|
||||
const val: bool = this.getT('withSignedTransaction');
|
||||
|
||||
return val.isTrue;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Creates an representation of the structure as an ISignerPayload JSON
|
||||
*/
|
||||
@@ -166,7 +172,8 @@ export class GenericSignerPayload extends Struct implements ISignerPayload, Sign
|
||||
specVersion: this.runtimeVersion.specVersion.toHex(),
|
||||
tip: this.tip.toHex(),
|
||||
transactionVersion: this.runtimeVersion.transactionVersion.toHex(),
|
||||
version: this.version.toNumber()
|
||||
version: this.version.toNumber(),
|
||||
withSignedTransaction: this.withSignedTransaction
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ describe('runtime definitions', (): void => {
|
||||
for (const { methods, version } of versions) {
|
||||
describe(`version ${version}`, (): void => {
|
||||
const methodsEntries = Object.entries<DefinitionCall>(methods);
|
||||
const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV3MultiLocation', 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>', 'Result<XcmVersionedMultiAssets, FungiblesAccessError>'];
|
||||
const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV4Location', 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>', 'Result<XcmVersionedMultiAssets, FungiblesAccessError>', 'XcmVersionedLocation'];
|
||||
|
||||
for (const [key, { params, type }] of methodsEntries) {
|
||||
describe(`${key}`, (): void => {
|
||||
|
||||
@@ -64,7 +64,10 @@ export { default as finality } from './finality/definitions.js';
|
||||
export { default as parachains } from './parachains/definitions.js';
|
||||
export { default as poll } from './poll/definitions.js';
|
||||
export { default as purchase } from './purchase/definitions.js';
|
||||
|
||||
// XCM related types
|
||||
export { default as xcm } from './xcm/definitions.js';
|
||||
export { default as xcmRuntimeApi } from './xcmRuntimeApi/definitions.js';
|
||||
|
||||
// other useful types
|
||||
export { default as contractsAbi } from './contractsAbi/definitions.js';
|
||||
|
||||
@@ -75,3 +75,4 @@ export * from './uniques/types.js';
|
||||
export * from './utility/types.js';
|
||||
export * from './vesting/types.js';
|
||||
export * from './xcm/types.js';
|
||||
export * from './xcmRuntimeApi/types.js';
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
// Copyright 2017-2024 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// order important in structs... :)
|
||||
/* eslint-disable sort-keys */
|
||||
|
||||
import type { Definitions } from '../../types/index.js';
|
||||
|
||||
import { runtime } from './runtime.js';
|
||||
|
||||
export default {
|
||||
rpc: {},
|
||||
runtime,
|
||||
types: {
|
||||
Error: {
|
||||
_enum: ['Unsupported', 'VersionedConversionFailed']
|
||||
}
|
||||
}
|
||||
} as Definitions;
|
||||
@@ -0,0 +1,4 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
export * from './types.js';
|
||||
@@ -0,0 +1,24 @@
|
||||
// Copyright 2017-2024 @polkadot/types authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { DefinitionsCall } from '../../types/index.js';
|
||||
|
||||
export const runtime: DefinitionsCall = {
|
||||
LocationToAccountApi: [
|
||||
{
|
||||
methods: {
|
||||
convert_location: {
|
||||
description: 'Converts `Location` to `AccountId`',
|
||||
params: [
|
||||
{
|
||||
name: 'location',
|
||||
type: 'XcmVersionedLocation'
|
||||
}
|
||||
],
|
||||
type: 'Result<AccountId, Error>'
|
||||
}
|
||||
},
|
||||
version: 1
|
||||
}
|
||||
]
|
||||
};
|
||||
@@ -0,0 +1,13 @@
|
||||
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
|
||||
/* eslint-disable */
|
||||
|
||||
import type { Enum } from '@polkadot/types-codec';
|
||||
|
||||
/** @name Error */
|
||||
export interface Error extends Enum {
|
||||
readonly isUnsupported: boolean;
|
||||
readonly isVersionedConversionFailed: boolean;
|
||||
readonly type: 'Unsupported' | 'VersionedConversionFailed';
|
||||
}
|
||||
|
||||
export type PHANTOM_XCMRUNTIMEAPI = 'xcmRuntimeApi';
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '12.0.1' };
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '12.0.2' };
|
||||
|
||||
@@ -104,6 +104,12 @@ export interface SignerPayloadJSON {
|
||||
* @description The version of the extrinsic we are dealing with
|
||||
*/
|
||||
version: number;
|
||||
|
||||
/**
|
||||
* @description Optional flag that enables the use of the `signedTransaction` field in
|
||||
* `singAndSend`, `signAsync`, and `dryRun`.
|
||||
*/
|
||||
withSignedTransaction?: boolean;
|
||||
}
|
||||
|
||||
export interface SignerPayloadRawBase {
|
||||
@@ -152,7 +158,9 @@ export interface SignerResult {
|
||||
* and instead broadcasting the transaction directly. There is a small validation layer. Please refer
|
||||
* to the implementation for more information. If the inputted signed transaction is not actually signed, it will fail with an error.
|
||||
*
|
||||
* NOTE: This is only implemented for `signPayload`.
|
||||
* This will also work for `signAsync`. The new payload will be added to the Extrinsic, and will be sent once the consumer calls `.send()`.
|
||||
*
|
||||
* NOTE: This is only implemented for `signPayload`, and will only work when the `withSignedTransaction` option is enabled as an option.
|
||||
*/
|
||||
signedTransaction?: HexString | Uint8Array;
|
||||
}
|
||||
@@ -191,6 +199,7 @@ export interface SignatureOptions {
|
||||
assetId?: AnyNumber | object;
|
||||
mode?: AnyNumber;
|
||||
metadataHash?: Uint8Array | string;
|
||||
withSignedTransaction?: boolean;
|
||||
}
|
||||
|
||||
interface ExtrinsicSignatureBase {
|
||||
|
||||
@@ -444,26 +444,26 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-augment@npm:12.0.1, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
"@polkadot/api-augment@npm:12.0.2, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
|
||||
dependencies:
|
||||
"@polkadot/api-base": "npm:12.0.1"
|
||||
"@polkadot/rpc-augment": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/types-augment": "npm:12.0.1"
|
||||
"@polkadot/types-codec": "npm:12.0.1"
|
||||
"@polkadot/api-base": "npm:12.0.2"
|
||||
"@polkadot/rpc-augment": "npm:12.0.2"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/types-augment": "npm:12.0.2"
|
||||
"@polkadot/types-codec": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-base@npm:12.0.1, @polkadot/api-base@workspace:packages/api-base":
|
||||
"@polkadot/api-base@npm:12.0.2, @polkadot/api-base@workspace:packages/api-base":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-base@workspace:packages/api-base"
|
||||
dependencies:
|
||||
"@polkadot/rpc-core": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/rpc-core": "npm:12.0.2"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
@@ -474,13 +474,13 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:12.0.1"
|
||||
"@polkadot/api-augment": "npm:12.0.1"
|
||||
"@polkadot/api": "npm:12.0.2"
|
||||
"@polkadot/api-augment": "npm:12.0.2"
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/types-codec": "npm:12.0.1"
|
||||
"@polkadot/types-create": "npm:12.0.1"
|
||||
"@polkadot/types-support": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/types-codec": "npm:12.0.2"
|
||||
"@polkadot/types-create": "npm:12.0.2"
|
||||
"@polkadot/types-support": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
@@ -488,19 +488,19 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-derive@npm:12.0.1, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
"@polkadot/api-derive@npm:12.0.2, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:12.0.1"
|
||||
"@polkadot/api-augment": "npm:12.0.1"
|
||||
"@polkadot/api-base": "npm:12.0.1"
|
||||
"@polkadot/rpc-augment": "npm:12.0.1"
|
||||
"@polkadot/rpc-core": "npm:12.0.1"
|
||||
"@polkadot/rpc-provider": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/types-codec": "npm:12.0.1"
|
||||
"@polkadot/types-support": "npm:12.0.1"
|
||||
"@polkadot/api": "npm:12.0.2"
|
||||
"@polkadot/api-augment": "npm:12.0.2"
|
||||
"@polkadot/api-base": "npm:12.0.2"
|
||||
"@polkadot/rpc-augment": "npm:12.0.2"
|
||||
"@polkadot/rpc-core": "npm:12.0.2"
|
||||
"@polkadot/rpc-provider": "npm:12.0.2"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/types-codec": "npm:12.0.2"
|
||||
"@polkadot/types-support": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
@@ -508,23 +508,23 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api@npm:12.0.1, @polkadot/api@workspace:packages/api":
|
||||
"@polkadot/api@npm:12.0.2, @polkadot/api@workspace:packages/api":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api@workspace:packages/api"
|
||||
dependencies:
|
||||
"@polkadot/api-augment": "npm:12.0.1"
|
||||
"@polkadot/api-base": "npm:12.0.1"
|
||||
"@polkadot/api-derive": "npm:12.0.1"
|
||||
"@polkadot/api-augment": "npm:12.0.2"
|
||||
"@polkadot/api-base": "npm:12.0.2"
|
||||
"@polkadot/api-derive": "npm:12.0.2"
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/rpc-augment": "npm:12.0.1"
|
||||
"@polkadot/rpc-core": "npm:12.0.1"
|
||||
"@polkadot/rpc-provider": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/types-augment": "npm:12.0.1"
|
||||
"@polkadot/types-codec": "npm:12.0.1"
|
||||
"@polkadot/types-create": "npm:12.0.1"
|
||||
"@polkadot/types-known": "npm:12.0.1"
|
||||
"@polkadot/types-support": "npm:12.0.1"
|
||||
"@polkadot/rpc-augment": "npm:12.0.2"
|
||||
"@polkadot/rpc-core": "npm:12.0.2"
|
||||
"@polkadot/rpc-provider": "npm:12.0.2"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/types-augment": "npm:12.0.2"
|
||||
"@polkadot/types-codec": "npm:12.0.2"
|
||||
"@polkadot/types-create": "npm:12.0.2"
|
||||
"@polkadot/types-known": "npm:12.0.2"
|
||||
"@polkadot/types-support": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
eventemitter3: "npm:^5.0.1"
|
||||
@@ -654,39 +654,39 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/rpc-augment@npm:12.0.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
"@polkadot/rpc-augment@npm:12.0.2, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
|
||||
dependencies:
|
||||
"@polkadot/rpc-core": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/types-codec": "npm:12.0.1"
|
||||
"@polkadot/rpc-core": "npm:12.0.2"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/types-codec": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-core@npm:12.0.1, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
"@polkadot/rpc-core@npm:12.0.2, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/rpc-augment": "npm:12.0.1"
|
||||
"@polkadot/rpc-provider": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/rpc-augment": "npm:12.0.2"
|
||||
"@polkadot/rpc-provider": "npm:12.0.2"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-provider@npm:12.0.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
"@polkadot/rpc-provider@npm:12.0.2, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/types-support": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/types-support": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
"@polkadot/x-fetch": "npm:^12.6.2"
|
||||
@@ -707,15 +707,15 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/typegen@workspace:packages/typegen"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:12.0.1"
|
||||
"@polkadot/api-augment": "npm:12.0.1"
|
||||
"@polkadot/rpc-augment": "npm:12.0.1"
|
||||
"@polkadot/rpc-provider": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/types-augment": "npm:12.0.1"
|
||||
"@polkadot/types-codec": "npm:12.0.1"
|
||||
"@polkadot/types-create": "npm:12.0.1"
|
||||
"@polkadot/types-support": "npm:12.0.1"
|
||||
"@polkadot/api": "npm:12.0.2"
|
||||
"@polkadot/api-augment": "npm:12.0.2"
|
||||
"@polkadot/rpc-augment": "npm:12.0.2"
|
||||
"@polkadot/rpc-provider": "npm:12.0.2"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/types-augment": "npm:12.0.2"
|
||||
"@polkadot/types-codec": "npm:12.0.2"
|
||||
"@polkadot/types-create": "npm:12.0.2"
|
||||
"@polkadot/types-support": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
"@polkadot/x-ws": "npm:^12.6.2"
|
||||
@@ -732,24 +732,24 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-augment@npm:12.0.1, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
"@polkadot/types-augment@npm:12.0.2, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
|
||||
dependencies:
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/types-codec": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/types-codec": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-codec@npm:12.0.1, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
"@polkadot/types-codec@npm:12.0.2, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
|
||||
dependencies:
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/types-augment": "npm:12.0.1"
|
||||
"@polkadot/types-support": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/types-augment": "npm:12.0.2"
|
||||
"@polkadot/types-support": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
"@polkadot/x-bigint": "npm:^12.6.2"
|
||||
@@ -757,32 +757,32 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-create@npm:12.0.1, @polkadot/types-create@workspace:packages/types-create":
|
||||
"@polkadot/types-create@npm:12.0.2, @polkadot/types-create@workspace:packages/types-create":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-create@workspace:packages/types-create"
|
||||
dependencies:
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/types-codec": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/types-codec": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-known@npm:12.0.1, @polkadot/types-known@workspace:packages/types-known":
|
||||
"@polkadot/types-known@npm:12.0.2, @polkadot/types-known@workspace:packages/types-known":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:12.0.1"
|
||||
"@polkadot/api": "npm:12.0.2"
|
||||
"@polkadot/networks": "npm:^12.6.2"
|
||||
"@polkadot/types": "npm:12.0.1"
|
||||
"@polkadot/types-codec": "npm:12.0.1"
|
||||
"@polkadot/types-create": "npm:12.0.1"
|
||||
"@polkadot/types": "npm:12.0.2"
|
||||
"@polkadot/types-codec": "npm:12.0.2"
|
||||
"@polkadot/types-create": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-support@npm:12.0.1, @polkadot/types-support@workspace:packages/types-support":
|
||||
"@polkadot/types-support@npm:12.0.2, @polkadot/types-support@workspace:packages/types-support":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
||||
dependencies:
|
||||
@@ -791,15 +791,15 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types@npm:12.0.1, @polkadot/types@workspace:packages/types":
|
||||
"@polkadot/types@npm:12.0.2, @polkadot/types@workspace:packages/types":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/types-augment": "npm:12.0.1"
|
||||
"@polkadot/types-codec": "npm:12.0.1"
|
||||
"@polkadot/types-create": "npm:12.0.1"
|
||||
"@polkadot/types-support": "npm:12.0.1"
|
||||
"@polkadot/types-augment": "npm:12.0.2"
|
||||
"@polkadot/types-codec": "npm:12.0.2"
|
||||
"@polkadot/types-create": "npm:12.0.2"
|
||||
"@polkadot/types-support": "npm:12.0.2"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
|
||||
Reference in New Issue
Block a user