@aeternity/aepp-sdk 13.0.0-beta.0 → 13.0.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/README.md +1 -1
- package/dist/aepp-sdk.browser-script.js +1 -1
- package/dist/aepp-sdk.browser-script.js.map +1 -1
- package/dist/aepp-sdk.browser.js +1 -1
- package/dist/aepp-sdk.browser.js.map +1 -1
- package/dist/aepp-sdk.js +68 -27
- package/dist/aepp-sdk.js.map +1 -1
- package/es/AeSdkAepp.d.ts +5 -4
- package/es/AeSdkAepp.mjs +13 -17
- package/es/AeSdkAepp.mjs.map +1 -1
- package/es/account/Generalized.mjs +1 -1
- package/es/account/Generalized.mjs.map +1 -1
- package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -1
- package/es/chain.mjs +1 -1
- package/es/chain.mjs.map +1 -1
- package/es/contract/Contract.d.ts +1 -2
- package/es/contract/Contract.mjs +23 -4
- package/es/contract/Contract.mjs.map +1 -1
- package/es/contract/compiler/Base.d.ts +3 -0
- package/es/contract/compiler/Base.mjs.map +1 -1
- package/es/index-browser.d.ts +1 -1
- package/es/index-browser.mjs +1 -1
- package/es/index-browser.mjs.map +1 -1
- package/es/tx/execution-cost.d.ts +17 -0
- package/es/tx/execution-cost.mjs +17 -0
- package/es/tx/execution-cost.mjs.map +1 -1
- package/es/utils/amount-formatter.d.ts +1 -2
- package/es/utils/amount-formatter.mjs +2 -2
- package/es/utils/amount-formatter.mjs.map +1 -1
- package/es/utils/errors.mjs +1 -1
- package/es/utils/errors.mjs.map +1 -1
- package/package.json +3 -3
- package/src/AeSdkAepp.ts +16 -14
- package/src/account/Generalized.ts +1 -1
- package/src/aepp-wallet-communication/rpc/types.ts +1 -0
- package/src/chain.ts +1 -1
- package/src/contract/Contract.ts +29 -8
- package/src/contract/compiler/Base.ts +3 -0
- package/src/index-browser.ts +3 -1
- package/src/tx/execution-cost.ts +17 -0
- package/src/utils/amount-formatter.ts +1 -1
- package/src/utils/errors.ts +1 -1
- package/types-legacy/ts4.2/AeSdkAepp.d.ts +5 -4
- package/types-legacy/ts4.2/contract/Contract.d.ts +1 -2
- package/types-legacy/ts4.2/contract/compiler/Base.d.ts +3 -0
- package/types-legacy/ts4.2/index-browser.d.ts +1 -1
- package/types-legacy/ts4.2/tx/execution-cost.d.ts +17 -0
- package/types-legacy/ts4.2/utils/amount-formatter.d.ts +1 -2
- package/types-legacy/ts4.5/AeSdkAepp.d.ts +5 -4
- package/types-legacy/ts4.5/contract/Contract.d.ts +1 -2
- package/types-legacy/ts4.5/contract/compiler/Base.d.ts +3 -0
- package/types-legacy/ts4.5/index-browser.d.ts +1 -1
- package/types-legacy/ts4.5/tx/execution-cost.d.ts +17 -0
- package/types-legacy/ts4.5/utils/amount-formatter.d.ts +1 -2
- package/es/typings/@aeternity__aepp-calldata/index.d.mjs +0 -2
- package/es/typings/@aeternity__aepp-calldata/index.d.mjs.map +0 -1
- package/src/typings/@aeternity__aepp-calldata/index.d.ts +0 -20
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare module '@aeternity/aepp-calldata' {
|
|
2
|
-
// eslint-disable-next-line import/prefer-default-export
|
|
3
|
-
export class Encoder {
|
|
4
|
-
constructor(aci: object);
|
|
5
|
-
|
|
6
|
-
encode(contract: string, funName: string, args: any[]): `cb_${string}`;
|
|
7
|
-
|
|
8
|
-
decode(contract: string, funName: string, data: `cb_${string}`): any;
|
|
9
|
-
|
|
10
|
-
decodeString(data: `cb_${string}`): Uint8Array;
|
|
11
|
-
|
|
12
|
-
decodeFateString(data: `cb_${string}`): string;
|
|
13
|
-
|
|
14
|
-
decodeEvent(
|
|
15
|
-
contract: string,
|
|
16
|
-
encodedData: `cb_${string}`,
|
|
17
|
-
topics: BigInt[],
|
|
18
|
-
): { [key: string]: any[] };
|
|
19
|
-
}
|
|
20
|
-
}
|