@polkadot/api-base 9.10.5 → 9.11.1
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/bundle.js +1 -1
- package/cjs/detectOther.js +1 -1
- package/cjs/detectPackage.js +1 -1
- package/cjs/packageInfo.js +2 -2
- package/detectOther.js +1 -1
- package/detectPackage.js +1 -1
- package/index.js +1 -1
- package/package.json +5 -5
- package/packageInfo.js +2 -2
- package/types/index.js +1 -1
- package/types/submittable.d.ts +2 -1
package/bundle.js
CHANGED
package/cjs/detectOther.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _packageInfo = require("@polkadot/rpc-core/cjs/packageInfo");
|
|
8
8
|
var _packageInfo2 = require("@polkadot/types/cjs/packageInfo");
|
|
9
|
-
// Copyright 2017-
|
|
9
|
+
// Copyright 2017-2023 @polkadot/api-base authors & contributors
|
|
10
10
|
// SPDX-License-Identifier: Apache-2.0
|
|
11
11
|
var _default = [_packageInfo.packageInfo, _packageInfo2.packageInfo];
|
|
12
12
|
exports.default = _default;
|
package/cjs/detectPackage.js
CHANGED
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
var _util = require("@polkadot/util");
|
|
5
5
|
var _detectOther = _interopRequireDefault(require("./detectOther"));
|
|
6
6
|
var _packageInfo = require("./packageInfo");
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2023 @polkadot/api-base authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
|
|
10
10
|
// Do not edit, auto-generated by @polkadot/dev
|
package/cjs/packageInfo.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.packageInfo = void 0;
|
|
7
|
-
// Copyright 2017-
|
|
7
|
+
// Copyright 2017-2023 @polkadot/api-base authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
9
|
|
|
10
10
|
// Do not edit, auto-generated by @polkadot/dev
|
|
@@ -13,6 +13,6 @@ const packageInfo = {
|
|
|
13
13
|
name: '@polkadot/api-base',
|
|
14
14
|
path: typeof __dirname === 'string' ? __dirname : 'auto',
|
|
15
15
|
type: 'cjs',
|
|
16
|
-
version: '9.
|
|
16
|
+
version: '9.11.1'
|
|
17
17
|
};
|
|
18
18
|
exports.packageInfo = packageInfo;
|
package/detectOther.js
CHANGED
package/detectPackage.js
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "9.
|
|
23
|
+
"version": "9.11.1",
|
|
24
24
|
"main": "./cjs/index.js",
|
|
25
25
|
"module": "./index.js",
|
|
26
26
|
"types": "./index.d.ts",
|
|
@@ -115,10 +115,10 @@
|
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@babel/runtime": "^7.20.
|
|
119
|
-
"@polkadot/rpc-core": "9.
|
|
120
|
-
"@polkadot/types": "9.
|
|
121
|
-
"@polkadot/util": "^10.2.
|
|
118
|
+
"@babel/runtime": "^7.20.7",
|
|
119
|
+
"@polkadot/rpc-core": "9.11.1",
|
|
120
|
+
"@polkadot/types": "9.11.1",
|
|
121
|
+
"@polkadot/util": "^10.2.3",
|
|
122
122
|
"rxjs": "^7.8.0"
|
|
123
123
|
}
|
|
124
124
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright 2017-
|
|
1
|
+
// Copyright 2017-2023 @polkadot/api-base authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
4
|
// Do not edit, auto-generated by @polkadot/dev
|
|
@@ -7,5 +7,5 @@ export const packageInfo = {
|
|
|
7
7
|
name: '@polkadot/api-base',
|
|
8
8
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
9
9
|
type: 'esm',
|
|
10
|
-
version: '9.
|
|
10
|
+
version: '9.11.1'
|
|
11
11
|
};
|
package/types/index.js
CHANGED
package/types/submittable.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Observable } from 'rxjs';
|
|
2
|
-
import type { AccountId, Address, ApplyExtrinsicResult, Call, DispatchError, DispatchInfo, EventRecord, Extrinsic, ExtrinsicStatus, Hash, RuntimeDispatchInfo } from '@polkadot/types/interfaces';
|
|
2
|
+
import type { AccountId, Address, ApplyExtrinsicResult, BlockNumber, Call, DispatchError, DispatchInfo, EventRecord, Extrinsic, ExtrinsicStatus, Hash, RuntimeDispatchInfo } from '@polkadot/types/interfaces';
|
|
3
3
|
import type { AnyFunction, AnyNumber, AnyTuple, Callback, CallBase, Codec, IExtrinsicEra, IKeyringPair, ISubmittableResult, Signer } from '@polkadot/types/types';
|
|
4
4
|
import type { ApiTypes, PromiseOrObs } from './base';
|
|
5
5
|
export type AugmentedSubmittable<T extends AnyFunction, A extends AnyTuple = AnyTuple> = T & CallBase<A>;
|
|
@@ -24,6 +24,7 @@ export interface SubmittableResultValue {
|
|
|
24
24
|
status: ExtrinsicStatus;
|
|
25
25
|
txHash: Hash;
|
|
26
26
|
txIndex?: number;
|
|
27
|
+
blockNumber?: BlockNumber;
|
|
27
28
|
}
|
|
28
29
|
export interface SubmittableExtrinsic<ApiType extends ApiTypes, R extends ISubmittableResult = ISubmittableResult> extends Extrinsic {
|
|
29
30
|
/** true if api.rpc.system.dryRun is available, enabling dryRun(...) */
|