starknet 10.0.0 → 10.0.2

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 CHANGED
@@ -1,3 +1,15 @@
1
+ ## [10.0.2](https://github.com/starknet-io/starknet.js/compare/v10.0.1...v10.0.2) (2026-04-30)
2
+
3
+ ### Bug Fixes
4
+
5
+ - bump version from 9.4.2 to 9.4.3 ([bffc6b4](https://github.com/starknet-io/starknet.js/commit/bffc6b48210268d7bb34cc819969261321daa159))
6
+
7
+ ## [10.0.1](https://github.com/starknet-io/starknet.js/compare/v10.0.0...v10.0.1) (2026-04-30)
8
+
9
+ ### Bug Fixes
10
+
11
+ - unexpected INFO message when create an Account without Paymaster ([3852a2c](https://github.com/starknet-io/starknet.js/commit/3852a2ce0e1717d59858617d43da6e63f2e11f87))
12
+
1
13
  # [10.0.0](https://github.com/starknet-io/starknet.js/compare/v9.4.1...v10.0.0) (2026-04-19)
2
14
 
3
15
  - feat!: refactor Account to use composition pattern, plugin system, docs\ \ BREAKING CHANGE: Account no longer extends Provider. Provider methods must now be accessed via account.provider property. \ Changes: - Account uses composition instead of inheritance - Add plugin system to replace ts-mixer - Update all tests to use account.provider.xyz() - Create migration guide and plugin documentation ([31d9458](https://github.com/starknet-io/starknet.js/commit/31d94587676a543c71dbd64b92d0e65d0ee3aa38))
@@ -132,6 +144,12 @@
132
144
 
133
145
  - semantic version, audit fix, ci permissions ([3c5dea3](https://github.com/starknet-io/starknet.js/commit/3c5dea301733c85cbd5a2785358e92f808874902))
134
146
 
147
+ ## [9.4.2](https://github.com/starknet-io/starknet.js/compare/v9.4.1...v9.4.2) (2026-03-06)
148
+
149
+ ### Bug Fixes
150
+
151
+ - bump version from 9.4.2 to 9.4.3 ([bffc6b4](https://github.com/starknet-io/starknet.js/commit/bffc6b48210268d7bb34cc819969261321daa159))
152
+
135
153
  ## [9.4.1](https://github.com/starknet-io/starknet.js/compare/v9.4.0...v9.4.1) (2026-03-02)
136
154
 
137
155
  ### Bug Fixes
package/dist/index.d.ts CHANGED
@@ -2183,9 +2183,9 @@ interface PaymasterOptions extends PaymasterRpcOptions {
2183
2183
  }
2184
2184
  type PaymasterRpcOptions = {
2185
2185
  nodeUrl?: string | _NetworkName;
2186
- default?: boolean;
2187
2186
  headers?: object;
2188
2187
  baseFetch?: WindowOrWorkerGlobalScope['fetch'];
2188
+ mute?: boolean;
2189
2189
  };
2190
2190
 
2191
2191
  /**
@@ -16291,11 +16291,11 @@ ${indent}}` : "}";
16291
16291
  }
16292
16292
  const { nodeUrl, headers, baseFetch } = options || {};
16293
16293
  if (nodeUrl && Object.values(_NetworkName).includes(nodeUrl)) {
16294
- this.nodeUrl = getDefaultPaymasterNodeUrl(nodeUrl, options?.default);
16294
+ this.nodeUrl = getDefaultPaymasterNodeUrl(nodeUrl, options?.mute);
16295
16295
  } else if (nodeUrl) {
16296
16296
  this.nodeUrl = nodeUrl;
16297
16297
  } else {
16298
- this.nodeUrl = getDefaultPaymasterNodeUrl(void 0, options?.default);
16298
+ this.nodeUrl = getDefaultPaymasterNodeUrl(void 0, options?.mute);
16299
16299
  }
16300
16300
  this.baseFetch = baseFetch ?? fetch_default;
16301
16301
  this.headers = { ...defaultOptions.headers, ...headers };
@@ -16574,7 +16574,7 @@ ${indent}}` : "}";
16574
16574
  this.cairoVersion = cairoVersion.toString();
16575
16575
  }
16576
16576
  this.transactionVersion = transactionVersion ?? config.get("transactionVersion");
16577
- this.paymaster = paymaster ? new PaymasterRpc(paymaster) : new PaymasterRpc();
16577
+ this.paymaster = paymaster ? new PaymasterRpc(paymaster) : new PaymasterRpc({ mute: true });
16578
16578
  this.deployer = options.deployer ?? defaultDeployer;
16579
16579
  this.defaultTipType = defaultTipType ?? config.get("defaultTipType");
16580
16580
  this.accountPluginManager = new PluginManager();