@polkadot/api-augment 9.4.2 → 9.4.3
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/package.json +6 -6
- package/packageInfo.js +1 -1
- package/substrate/runtime.d.ts +6 -2
package/cjs/packageInfo.js
CHANGED
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "9.4.
|
|
23
|
+
"version": "9.4.3",
|
|
24
24
|
"main": "./cjs/index.js",
|
|
25
25
|
"module": "./index.js",
|
|
26
26
|
"types": "./index.d.ts",
|
|
@@ -186,11 +186,11 @@
|
|
|
186
186
|
},
|
|
187
187
|
"dependencies": {
|
|
188
188
|
"@babel/runtime": "^7.19.0",
|
|
189
|
-
"@polkadot/api-base": "9.4.
|
|
190
|
-
"@polkadot/rpc-augment": "9.4.
|
|
191
|
-
"@polkadot/types": "9.4.
|
|
192
|
-
"@polkadot/types-augment": "9.4.
|
|
193
|
-
"@polkadot/types-codec": "9.4.
|
|
189
|
+
"@polkadot/api-base": "9.4.3",
|
|
190
|
+
"@polkadot/rpc-augment": "9.4.3",
|
|
191
|
+
"@polkadot/types": "9.4.3",
|
|
192
|
+
"@polkadot/types-augment": "9.4.3",
|
|
193
|
+
"@polkadot/types-codec": "9.4.3",
|
|
194
194
|
"@polkadot/util": "^10.1.9"
|
|
195
195
|
}
|
|
196
196
|
}
|
package/packageInfo.js
CHANGED
|
@@ -5,5 +5,5 @@ export const packageInfo = {
|
|
|
5
5
|
name: '@polkadot/api-augment',
|
|
6
6
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
7
7
|
type: 'esm',
|
|
8
|
-
version: '9.4.
|
|
8
|
+
version: '9.4.3'
|
|
9
9
|
};
|
package/substrate/runtime.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type { BabeEquivocationProof, BabeGenesisConfiguration, Epoch, OpaqueKeyO
|
|
|
6
6
|
import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder';
|
|
7
7
|
import type { BlockHash } from '@polkadot/types/interfaces/chain';
|
|
8
8
|
import type { AuthorityId } from '@polkadot/types/interfaces/consensus';
|
|
9
|
-
import type { CodeUploadResult, ContractExecResult, ContractInstantiateResult } from '@polkadot/types/interfaces/contracts';
|
|
9
|
+
import type { CodeSource, CodeUploadResult, ContractExecResult, ContractInstantiateResult } from '@polkadot/types/interfaces/contracts';
|
|
10
10
|
import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics';
|
|
11
11
|
import type { AuthorityList, GrandpaEquivocationProof, SetId } from '@polkadot/types/interfaces/grandpa';
|
|
12
12
|
import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata';
|
|
@@ -122,7 +122,11 @@ declare module '@polkadot/api-base/types/calls' {
|
|
|
122
122
|
/**
|
|
123
123
|
* Instantiate a new contract.
|
|
124
124
|
**/
|
|
125
|
-
instantiate: AugmentedCall<ApiType, (origin: AccountId | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, storageDepositLimit: Option<Balance> | null | Uint8Array | Balance | AnyNumber, code:
|
|
125
|
+
instantiate: AugmentedCall<ApiType, (origin: AccountId | string | Uint8Array, value: Balance | AnyNumber | Uint8Array, gasLimit: u64 | AnyNumber | Uint8Array, storageDepositLimit: Option<Balance> | null | Uint8Array | Balance | AnyNumber, code: CodeSource | {
|
|
126
|
+
Upload: any;
|
|
127
|
+
} | {
|
|
128
|
+
Existing: any;
|
|
129
|
+
} | string | Uint8Array, data: Bytes | string | Uint8Array, salt: Bytes | string | Uint8Array) => Observable<ContractInstantiateResult>>;
|
|
126
130
|
/**
|
|
127
131
|
* Upload new code without instantiating a contract from it.
|
|
128
132
|
**/
|