starknet 5.1.0 → 5.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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.global.js +10 -10
- package/dist/index.global.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [5.1.1](https://github.com/0xs34n/starknet.js/compare/v5.1.0...v5.1.1) (2023-03-07)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- rectify default provider wait parameter typing ([fc9fd66](https://github.com/0xs34n/starknet.js/commit/fc9fd6661b13317d203a61407817e6ecf3897ba8))
|
|
6
|
+
|
|
1
7
|
# [5.1.0](https://github.com/0xs34n/starknet.js/compare/v5.0.2...v5.1.0) (2023-03-03)
|
|
2
8
|
|
|
3
9
|
### Features
|
package/dist/index.d.ts
CHANGED
|
@@ -1978,7 +1978,7 @@ declare class Provider implements ProviderInterface {
|
|
|
1978
1978
|
getDeclareEstimateFee(transaction: DeclareContractTransaction, details: InvocationsDetailsWithNonce, blockIdentifier?: BlockIdentifier): Promise<EstimateFeeResponse>;
|
|
1979
1979
|
getDeployAccountEstimateFee(transaction: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce, blockIdentifier?: BlockIdentifier): Promise<EstimateFeeResponse>;
|
|
1980
1980
|
getCode(contractAddress: string, blockIdentifier?: BlockIdentifier): Promise<GetCodeResponse>;
|
|
1981
|
-
waitForTransaction(txHash: BigNumberish, options
|
|
1981
|
+
waitForTransaction(txHash: BigNumberish, options?: waitForTransactionOptions): Promise<GetTransactionReceiptResponse>;
|
|
1982
1982
|
getSimulateTransaction(invocation: Invocation, invocationDetails: InvocationsDetailsWithNonce, blockIdentifier?: BlockIdentifier): Promise<TransactionSimulationResponse>;
|
|
1983
1983
|
getStateUpdate(blockIdentifier?: BlockIdentifier): Promise<StateUpdateResponse>;
|
|
1984
1984
|
getStarkName(address: BigNumberish, StarknetIdContract?: string): Promise<string>;
|
package/dist/index.global.js
CHANGED
|
@@ -540,9 +540,9 @@ var starknet = (() => {
|
|
|
540
540
|
}
|
|
541
541
|
});
|
|
542
542
|
|
|
543
|
-
// node_modules/@noble/hashes/_assert.js
|
|
543
|
+
// node_modules/ethereum-cryptography/node_modules/@noble/hashes/_assert.js
|
|
544
544
|
var require_assert = __commonJS({
|
|
545
|
-
"node_modules/@noble/hashes/_assert.js"(exports) {
|
|
545
|
+
"node_modules/ethereum-cryptography/node_modules/@noble/hashes/_assert.js"(exports) {
|
|
546
546
|
"use strict";
|
|
547
547
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
548
548
|
exports.output = exports.exists = exports.hash = exports.bytes = exports.bool = exports.number = void 0;
|
|
@@ -597,9 +597,9 @@ var starknet = (() => {
|
|
|
597
597
|
}
|
|
598
598
|
});
|
|
599
599
|
|
|
600
|
-
// node_modules/@noble/hashes/_u64.js
|
|
600
|
+
// node_modules/ethereum-cryptography/node_modules/@noble/hashes/_u64.js
|
|
601
601
|
var require_u64 = __commonJS({
|
|
602
|
-
"node_modules/@noble/hashes/_u64.js"(exports) {
|
|
602
|
+
"node_modules/ethereum-cryptography/node_modules/@noble/hashes/_u64.js"(exports) {
|
|
603
603
|
"use strict";
|
|
604
604
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
605
605
|
exports.add = exports.toBig = exports.split = exports.fromBig = void 0;
|
|
@@ -674,9 +674,9 @@ var starknet = (() => {
|
|
|
674
674
|
}
|
|
675
675
|
});
|
|
676
676
|
|
|
677
|
-
// node_modules/@noble/hashes/cryptoBrowser.js
|
|
677
|
+
// node_modules/ethereum-cryptography/node_modules/@noble/hashes/cryptoBrowser.js
|
|
678
678
|
var require_cryptoBrowser = __commonJS({
|
|
679
|
-
"node_modules/@noble/hashes/cryptoBrowser.js"(exports) {
|
|
679
|
+
"node_modules/ethereum-cryptography/node_modules/@noble/hashes/cryptoBrowser.js"(exports) {
|
|
680
680
|
"use strict";
|
|
681
681
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
682
682
|
exports.crypto = void 0;
|
|
@@ -687,9 +687,9 @@ var starknet = (() => {
|
|
|
687
687
|
}
|
|
688
688
|
});
|
|
689
689
|
|
|
690
|
-
// node_modules/@noble/hashes/utils.js
|
|
690
|
+
// node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js
|
|
691
691
|
var require_utils = __commonJS({
|
|
692
|
-
"node_modules/@noble/hashes/utils.js"(exports) {
|
|
692
|
+
"node_modules/ethereum-cryptography/node_modules/@noble/hashes/utils.js"(exports) {
|
|
693
693
|
"use strict";
|
|
694
694
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
695
695
|
exports.randomBytes = exports.wrapConstructorWithOpts = exports.wrapConstructor = exports.checkOpts = exports.Hash = exports.concatBytes = exports.toBytes = exports.utf8ToBytes = exports.asyncLoop = exports.nextTick = exports.hexToBytes = exports.bytesToHex = exports.isLE = exports.rotr = exports.createView = exports.u32 = exports.u8 = void 0;
|
|
@@ -824,9 +824,9 @@ var starknet = (() => {
|
|
|
824
824
|
}
|
|
825
825
|
});
|
|
826
826
|
|
|
827
|
-
// node_modules/@noble/hashes/sha3.js
|
|
827
|
+
// node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha3.js
|
|
828
828
|
var require_sha3 = __commonJS({
|
|
829
|
-
"node_modules/@noble/hashes/sha3.js"(exports) {
|
|
829
|
+
"node_modules/ethereum-cryptography/node_modules/@noble/hashes/sha3.js"(exports) {
|
|
830
830
|
"use strict";
|
|
831
831
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
832
832
|
exports.shake256 = exports.shake128 = exports.keccak_512 = exports.keccak_384 = exports.keccak_256 = exports.keccak_224 = exports.sha3_512 = exports.sha3_384 = exports.sha3_256 = exports.sha3_224 = exports.Keccak = exports.keccakP = void 0;
|