@polkadot/api-base 15.8.1 → 15.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/packageInfo.js +1 -1
- package/cjs/types/submittable.d.ts +3 -6
- package/package.json +4 -4
- package/packageInfo.js +1 -1
- package/types/submittable.d.ts +3 -6
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@polkadot/api-base', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '15.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/api-base', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '15.9.2' };
|
|
@@ -39,13 +39,10 @@ export interface SubmittableExtrinsic<ApiType extends ApiTypes, R extends ISubmi
|
|
|
39
39
|
send(): SubmittableResultResult<ApiType>;
|
|
40
40
|
send(statusCb: Callback<R>): SubmittableResultSubscription<ApiType, R>;
|
|
41
41
|
/**
|
|
42
|
-
* @description Sign
|
|
42
|
+
* @description Sign the constructed transaction asynchronously.
|
|
43
43
|
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* This allows the signer to input a signed transaction that will modify the payload. This
|
|
47
|
-
* The api will ensure that the Call Data is not changed. This allows for the signer to modify the payload to add
|
|
48
|
-
* things like `mode`, and `metadataHash` for signedExtensions such as `CheckMetadataHash`.
|
|
44
|
+
* The result is a signed extrinsic that is ready to be broadcast to the network via `.send()`, `rpc.author.submitExtrinsic()`, or
|
|
45
|
+
* any custom submission logic.
|
|
49
46
|
*/
|
|
50
47
|
signAsync(account: AddressOrPair, _options?: Partial<SignerOptions>): PromiseOrObs<ApiType, this>;
|
|
51
48
|
/**
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/packageDetect.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "15.
|
|
21
|
+
"version": "15.9.2",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -255,9 +255,9 @@
|
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
257
|
"dependencies": {
|
|
258
|
-
"@polkadot/rpc-core": "15.
|
|
259
|
-
"@polkadot/types": "15.
|
|
260
|
-
"@polkadot/util": "^13.4.
|
|
258
|
+
"@polkadot/rpc-core": "15.9.2",
|
|
259
|
+
"@polkadot/types": "15.9.2",
|
|
260
|
+
"@polkadot/util": "^13.4.4",
|
|
261
261
|
"rxjs": "^7.8.1",
|
|
262
262
|
"tslib": "^2.8.1"
|
|
263
263
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/api-base', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '15.
|
|
1
|
+
export const packageInfo = { name: '@polkadot/api-base', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '15.9.2' };
|
package/types/submittable.d.ts
CHANGED
|
@@ -39,13 +39,10 @@ export interface SubmittableExtrinsic<ApiType extends ApiTypes, R extends ISubmi
|
|
|
39
39
|
send(): SubmittableResultResult<ApiType>;
|
|
40
40
|
send(statusCb: Callback<R>): SubmittableResultSubscription<ApiType, R>;
|
|
41
41
|
/**
|
|
42
|
-
* @description Sign
|
|
42
|
+
* @description Sign the constructed transaction asynchronously.
|
|
43
43
|
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* This allows the signer to input a signed transaction that will modify the payload. This
|
|
47
|
-
* The api will ensure that the Call Data is not changed. This allows for the signer to modify the payload to add
|
|
48
|
-
* things like `mode`, and `metadataHash` for signedExtensions such as `CheckMetadataHash`.
|
|
44
|
+
* The result is a signed extrinsic that is ready to be broadcast to the network via `.send()`, `rpc.author.submitExtrinsic()`, or
|
|
45
|
+
* any custom submission logic.
|
|
49
46
|
*/
|
|
50
47
|
signAsync(account: AddressOrPair, _options?: Partial<SignerOptions>): PromiseOrObs<ApiType, this>;
|
|
51
48
|
/**
|