@aeternity/aepp-sdk 14.0.0 → 14.1.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/LICENSE +1 -1
- package/README.md +11 -19
- package/dist/aepp-sdk.browser-script.cjs +1 -1
- package/dist/aepp-sdk.browser-script.cjs.LICENSE.txt +2 -0
- package/dist/aepp-sdk.browser-script.cjs.map +1 -1
- package/dist/aepp-sdk.browser.cjs +1 -1
- package/dist/aepp-sdk.browser.cjs.map +1 -1
- package/dist/aepp-sdk.cjs +10846 -4277
- package/dist/aepp-sdk.cjs.map +1 -1
- package/es/AeSdkBase.d.ts +10 -1
- package/es/AeSdkBase.js +12 -2
- package/es/AeSdkBase.js.map +1 -1
- package/es/AeSdkMethods.d.ts +1 -1
- package/es/AeSdkMethods.js.map +1 -1
- package/es/AeSdkWallet.js +1 -1
- package/es/AeSdkWallet.js.map +1 -1
- package/es/Middleware.d.ts +5 -1
- package/es/Middleware.js +7 -2
- package/es/Middleware.js.map +1 -1
- package/es/MiddlewareSubscriber.d.ts +3 -0
- package/es/MiddlewareSubscriber.js +4 -0
- package/es/MiddlewareSubscriber.js.map +1 -1
- package/es/Node.d.ts +6 -1
- package/es/Node.js +28 -4
- package/es/Node.js.map +1 -1
- package/es/account/Base.d.ts +12 -0
- package/es/account/Base.js +1 -0
- package/es/account/Base.js.map +1 -1
- package/es/account/BaseFactory.d.ts +1 -0
- package/es/account/BaseFactory.js +1 -0
- package/es/account/BaseFactory.js.map +1 -1
- package/es/account/Generalized.d.ts +5 -0
- package/es/account/Generalized.js +9 -0
- package/es/account/Generalized.js.map +1 -1
- package/es/account/Ledger.d.ts +5 -0
- package/es/account/Ledger.js +9 -0
- package/es/account/Ledger.js.map +1 -1
- package/es/account/LedgerFactory.d.ts +2 -0
- package/es/account/LedgerFactory.js +10 -4
- package/es/account/LedgerFactory.js.map +1 -1
- package/es/account/Memory.d.ts +5 -0
- package/es/account/Memory.js +14 -5
- package/es/account/Memory.js.map +1 -1
- package/es/account/Metamask.d.ts +8 -0
- package/es/account/Metamask.js +13 -0
- package/es/account/Metamask.js.map +1 -1
- package/es/account/MetamaskFactory.d.ts +20 -2
- package/es/account/MetamaskFactory.js +93 -39
- package/es/account/MetamaskFactory.js.map +1 -1
- package/es/account/MnemonicFactory.d.ts +12 -2
- package/es/account/MnemonicFactory.js +48 -24
- package/es/account/MnemonicFactory.js.map +1 -1
- package/es/account/Rpc.d.ts +5 -0
- package/es/account/Rpc.js +8 -0
- package/es/account/Rpc.js.map +1 -1
- package/es/aens.d.ts +35 -7
- package/es/aens.js +62 -20
- package/es/aens.js.map +1 -1
- package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +1 -1
- package/es/aepp-wallet-communication/connection/BrowserRuntime.js.map +1 -1
- package/es/apis/middleware/middleware.d.ts +99 -9
- package/es/apis/middleware/middleware.js +560 -91
- package/es/apis/middleware/middleware.js.map +1 -1
- package/es/apis/middleware/models/index.d.ts +1267 -1582
- package/es/apis/middleware/models/index.js +1 -1363
- package/es/apis/middleware/models/index.js.map +1 -1
- package/es/apis/middleware/models/mappers.d.ts +126 -56
- package/es/apis/middleware/models/mappers.js +6250 -2989
- package/es/apis/middleware/models/mappers.js.map +1 -1
- package/es/apis/middleware/models/parameters.d.ts +54 -33
- package/es/apis/middleware/models/parameters.js +389 -134
- package/es/apis/middleware/models/parameters.js.map +1 -1
- package/es/apis/node/models/index.d.ts +60 -15
- package/es/apis/node/models/index.js.map +1 -1
- package/es/apis/node/models/mappers.d.ts +3 -0
- package/es/apis/node/models/mappers.js +130 -2
- package/es/apis/node/models/mappers.js.map +1 -1
- package/es/apis/node/node.d.ts +13 -1
- package/es/apis/node/node.js +54 -0
- package/es/apis/node/node.js.map +1 -1
- package/es/chain.d.ts +19 -6
- package/es/chain.js +30 -24
- package/es/chain.js.map +1 -1
- package/es/channel/Contract.d.ts +6 -3
- package/es/channel/Contract.js +5 -2
- package/es/channel/Contract.js.map +1 -1
- package/es/channel/Spend.d.ts +1 -1
- package/es/channel/Spend.js.map +1 -1
- package/es/channel/handlers.js +1 -2
- package/es/channel/handlers.js.map +1 -1
- package/es/channel/internal.d.ts +1 -1
- package/es/channel/internal.js +2 -2
- package/es/channel/internal.js.map +1 -1
- package/es/contract/Contract.d.ts +13 -2
- package/es/contract/Contract.js +22 -12
- package/es/contract/Contract.js.map +1 -1
- package/es/contract/compiler/Base.d.ts +1 -0
- package/es/contract/compiler/Base.js +1 -0
- package/es/contract/compiler/Base.js.map +1 -1
- package/es/contract/compiler/Cli.d.ts +2 -1
- package/es/contract/compiler/Cli.js +17 -11
- package/es/contract/compiler/Cli.js.map +1 -1
- package/es/contract/compiler/Http.d.ts +2 -1
- package/es/contract/compiler/Http.js +3 -2
- package/es/contract/compiler/Http.js.map +1 -1
- package/es/contract/compiler/getFileSystem.d.ts +1 -0
- package/es/contract/compiler/getFileSystem.js +1 -0
- package/es/contract/compiler/getFileSystem.js.map +1 -1
- package/es/contract/ga.d.ts +3 -3
- package/es/contract/ga.js +3 -3
- package/es/contract/ga.js.map +1 -1
- package/es/index-browser.d.ts +32 -2
- package/es/index-browser.js +32 -2
- package/es/index-browser.js.map +1 -1
- package/es/oracle/Oracle.d.ts +10 -1
- package/es/oracle/Oracle.js +16 -6
- package/es/oracle/Oracle.js.map +1 -1
- package/es/oracle/OracleBase.d.ts +15 -2
- package/es/oracle/OracleBase.js +23 -1
- package/es/oracle/OracleBase.js.map +1 -1
- package/es/oracle/OracleClient.d.ts +3 -0
- package/es/oracle/OracleClient.js +6 -1
- package/es/oracle/OracleClient.js.map +1 -1
- package/es/spend.js +1 -1
- package/es/spend.js.map +1 -1
- package/es/tx/builder/common.js +6 -3
- package/es/tx/builder/common.js.map +1 -1
- package/es/tx/builder/constants.d.ts +53 -3
- package/es/tx/builder/constants.js +62 -12
- package/es/tx/builder/constants.js.map +1 -1
- package/es/tx/builder/delegation/schema.js +15 -0
- package/es/tx/builder/delegation/schema.js.map +1 -1
- package/es/tx/builder/entry/constants.d.ts +4 -1
- package/es/tx/builder/entry/constants.js +10 -1
- package/es/tx/builder/entry/constants.js.map +1 -1
- package/es/tx/builder/entry/index.js +1 -2
- package/es/tx/builder/entry/index.js.map +1 -1
- package/es/tx/builder/field-types/ct-version.js +1 -2
- package/es/tx/builder/field-types/ct-version.js.map +1 -1
- package/es/tx/builder/field-types/fee.d.ts +1 -1
- package/es/tx/builder/field-types/fee.js +4 -4
- package/es/tx/builder/field-types/fee.js.map +1 -1
- package/es/tx/builder/field-types/gas-price.d.ts +3 -0
- package/es/tx/builder/field-types/gas-price.js +1 -1
- package/es/tx/builder/field-types/gas-price.js.map +1 -1
- package/es/tx/builder/field-types/name-fee.js +1 -1
- package/es/tx/builder/field-types/name-fee.js.map +1 -1
- package/es/tx/builder/field-types/name-id.js +2 -2
- package/es/tx/builder/field-types/name-id.js.map +1 -1
- package/es/tx/builder/field-types/nonce.d.ts +1 -1
- package/es/tx/builder/field-types/nonce.js.map +1 -1
- package/es/tx/builder/field-types/pointers.js +3 -3
- package/es/tx/builder/field-types/pointers.js.map +1 -1
- package/es/tx/builder/field-types/ttl.d.ts +1 -2
- package/es/tx/builder/field-types/ttl.js +7 -5
- package/es/tx/builder/field-types/ttl.js.map +1 -1
- package/es/tx/builder/helpers.d.ts +18 -12
- package/es/tx/builder/helpers.js +25 -17
- package/es/tx/builder/helpers.js.map +1 -1
- package/es/tx/builder/schema.d.ts +50 -70
- package/es/tx/builder/schema.generated.d.ts +12 -12
- package/es/tx/builder/schema.generated.js.map +1 -1
- package/es/tx/builder/schema.js +5 -3
- package/es/tx/builder/schema.js.map +1 -1
- package/es/tx/execution-cost.d.ts +3 -0
- package/es/tx/execution-cost.js +7 -4
- package/es/tx/execution-cost.js.map +1 -1
- package/es/tx/transaction-signer.d.ts +1 -0
- package/es/tx/transaction-signer.js +1 -0
- package/es/tx/transaction-signer.js.map +1 -1
- package/es/tx/validator.js +4 -3
- package/es/tx/validator.js.map +1 -1
- package/es/utils/MiddlewarePage.d.ts +4 -3
- package/es/utils/MiddlewarePage.js.map +1 -1
- package/es/utils/amount-formatter.d.ts +15 -1
- package/es/utils/amount-formatter.js +17 -1
- package/es/utils/amount-formatter.js.map +1 -1
- package/es/utils/autorest.d.ts +1 -1
- package/es/utils/autorest.js +10 -4
- package/es/utils/autorest.js.map +1 -1
- package/es/utils/bignumber.d.ts +1 -1
- package/es/utils/bignumber.js +1 -1
- package/es/utils/bignumber.js.map +1 -1
- package/es/utils/bytes.d.ts +3 -1
- package/es/utils/bytes.js +3 -1
- package/es/utils/bytes.js.map +1 -1
- package/es/utils/crypto.d.ts +48 -15
- package/es/utils/crypto.js +80 -29
- package/es/utils/crypto.js.map +1 -1
- package/es/utils/encoder-types.d.ts +1 -1
- package/es/utils/encoder-types.js +1 -1
- package/es/utils/encoder-types.js.map +1 -1
- package/es/utils/encoder.d.ts +2 -0
- package/es/utils/encoder.js +2 -0
- package/es/utils/encoder.js.map +1 -1
- package/es/utils/errors.d.ts +2 -2
- package/es/utils/errors.js +2 -2
- package/es/utils/errors.js.map +1 -1
- package/es/utils/json-big.js +1 -1
- package/es/utils/json-big.js.map +1 -1
- package/es/utils/jwt.js +3 -3
- package/es/utils/jwt.js.map +1 -1
- package/es/utils/typed-data.d.ts +5 -0
- package/es/utils/typed-data.js +6 -0
- package/es/utils/typed-data.js.map +1 -1
- package/package.json +51 -52
|
@@ -825,6 +825,7 @@ export const AuctionEntry = {
|
|
|
825
825
|
InclusiveMinimum: 0
|
|
826
826
|
},
|
|
827
827
|
serializedName: "started_at",
|
|
828
|
+
required: true,
|
|
828
829
|
type: {
|
|
829
830
|
name: "Number"
|
|
830
831
|
}
|
|
@@ -854,7 +855,8 @@ export const AuctionEntry = {
|
|
|
854
855
|
serializedName: "highest_bid",
|
|
855
856
|
required: true,
|
|
856
857
|
type: {
|
|
857
|
-
|
|
858
|
+
// @ts-expect-error we are extending autorest with BigInt support
|
|
859
|
+
name: "BigInt"
|
|
858
860
|
}
|
|
859
861
|
}
|
|
860
862
|
}
|
|
@@ -1685,6 +1687,13 @@ export const KeyBlock = {
|
|
|
1685
1687
|
name: "String"
|
|
1686
1688
|
}
|
|
1687
1689
|
},
|
|
1690
|
+
flags: {
|
|
1691
|
+
serializedName: "flags",
|
|
1692
|
+
required: true,
|
|
1693
|
+
type: {
|
|
1694
|
+
name: "String"
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1688
1697
|
target: {
|
|
1689
1698
|
constraints: {
|
|
1690
1699
|
InclusiveMaximum: 4294967295,
|
|
@@ -1809,6 +1818,12 @@ export const Header = {
|
|
|
1809
1818
|
name: "String"
|
|
1810
1819
|
}
|
|
1811
1820
|
},
|
|
1821
|
+
flags: {
|
|
1822
|
+
serializedName: "flags",
|
|
1823
|
+
type: {
|
|
1824
|
+
name: "String"
|
|
1825
|
+
}
|
|
1826
|
+
},
|
|
1812
1827
|
target: {
|
|
1813
1828
|
constraints: {
|
|
1814
1829
|
InclusiveMaximum: 4294967295,
|
|
@@ -1893,6 +1908,90 @@ export const Header = {
|
|
|
1893
1908
|
}
|
|
1894
1909
|
}
|
|
1895
1910
|
};
|
|
1911
|
+
export const PinningTx = {
|
|
1912
|
+
type: {
|
|
1913
|
+
name: "Composite",
|
|
1914
|
+
className: "PinningTx",
|
|
1915
|
+
modelProperties: {
|
|
1916
|
+
epoch: {
|
|
1917
|
+
serializedName: "epoch",
|
|
1918
|
+
required: true,
|
|
1919
|
+
type: {
|
|
1920
|
+
name: "Number"
|
|
1921
|
+
}
|
|
1922
|
+
},
|
|
1923
|
+
height: {
|
|
1924
|
+
serializedName: "height",
|
|
1925
|
+
required: true,
|
|
1926
|
+
type: {
|
|
1927
|
+
name: "Number"
|
|
1928
|
+
}
|
|
1929
|
+
},
|
|
1930
|
+
blockHash: {
|
|
1931
|
+
serializedName: "block_hash",
|
|
1932
|
+
required: true,
|
|
1933
|
+
type: {
|
|
1934
|
+
name: "String"
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
parentPayload: {
|
|
1938
|
+
serializedName: "parent_payload",
|
|
1939
|
+
required: true,
|
|
1940
|
+
type: {
|
|
1941
|
+
name: "String"
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1944
|
+
lastLeader: {
|
|
1945
|
+
serializedName: "last_leader",
|
|
1946
|
+
required: true,
|
|
1947
|
+
type: {
|
|
1948
|
+
name: "String"
|
|
1949
|
+
}
|
|
1950
|
+
},
|
|
1951
|
+
parentType: {
|
|
1952
|
+
serializedName: "parent_type",
|
|
1953
|
+
required: true,
|
|
1954
|
+
type: {
|
|
1955
|
+
name: "String"
|
|
1956
|
+
}
|
|
1957
|
+
},
|
|
1958
|
+
parentNetworkId: {
|
|
1959
|
+
serializedName: "parent_network_id",
|
|
1960
|
+
required: true,
|
|
1961
|
+
type: {
|
|
1962
|
+
name: "String"
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
};
|
|
1968
|
+
export const HCContractPubkeys = {
|
|
1969
|
+
type: {
|
|
1970
|
+
name: "Composite",
|
|
1971
|
+
className: "HCContractPubkeys",
|
|
1972
|
+
modelProperties: {
|
|
1973
|
+
staking: {
|
|
1974
|
+
serializedName: "staking",
|
|
1975
|
+
required: true,
|
|
1976
|
+
type: {
|
|
1977
|
+
name: "String"
|
|
1978
|
+
}
|
|
1979
|
+
},
|
|
1980
|
+
election: {
|
|
1981
|
+
serializedName: "election",
|
|
1982
|
+
type: {
|
|
1983
|
+
name: "String"
|
|
1984
|
+
}
|
|
1985
|
+
},
|
|
1986
|
+
rewards: {
|
|
1987
|
+
serializedName: "rewards",
|
|
1988
|
+
type: {
|
|
1989
|
+
name: "String"
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
};
|
|
1896
1995
|
export const HashResponse = {
|
|
1897
1996
|
type: {
|
|
1898
1997
|
name: "Composite",
|
|
@@ -2069,7 +2168,7 @@ export const NameEntry = {
|
|
|
2069
2168
|
element: {
|
|
2070
2169
|
type: {
|
|
2071
2170
|
name: "Composite",
|
|
2072
|
-
className: "
|
|
2171
|
+
className: "NamePointerComplete"
|
|
2073
2172
|
}
|
|
2074
2173
|
}
|
|
2075
2174
|
}
|
|
@@ -2077,6 +2176,35 @@ export const NameEntry = {
|
|
|
2077
2176
|
}
|
|
2078
2177
|
}
|
|
2079
2178
|
};
|
|
2179
|
+
export const NamePointerComplete = {
|
|
2180
|
+
type: {
|
|
2181
|
+
name: "Composite",
|
|
2182
|
+
className: "NamePointerComplete",
|
|
2183
|
+
modelProperties: {
|
|
2184
|
+
key: {
|
|
2185
|
+
serializedName: "key",
|
|
2186
|
+
required: true,
|
|
2187
|
+
type: {
|
|
2188
|
+
name: "String"
|
|
2189
|
+
}
|
|
2190
|
+
},
|
|
2191
|
+
encodedKey: {
|
|
2192
|
+
serializedName: "encoded_key",
|
|
2193
|
+
required: true,
|
|
2194
|
+
type: {
|
|
2195
|
+
name: "String"
|
|
2196
|
+
}
|
|
2197
|
+
},
|
|
2198
|
+
id: {
|
|
2199
|
+
serializedName: "id",
|
|
2200
|
+
required: true,
|
|
2201
|
+
type: {
|
|
2202
|
+
name: "String"
|
|
2203
|
+
}
|
|
2204
|
+
}
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2207
|
+
};
|
|
2080
2208
|
export const RegisteredOracle = {
|
|
2081
2209
|
type: {
|
|
2082
2210
|
name: "Composite",
|