@bigmaxwatermelon/sdk 0.4.1 → 0.4.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/dist/cli.js +79 -484
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -523,7 +523,7 @@ interface IsometryConfig {
|
|
|
523
523
|
addresses?: ContractAddresses;
|
|
524
524
|
privateKey?: string;
|
|
525
525
|
}
|
|
526
|
-
declare const SDK_VERSION = "0.4.
|
|
526
|
+
declare const SDK_VERSION = "0.4.2";
|
|
527
527
|
declare class IsometryClient {
|
|
528
528
|
readonly rpc: {
|
|
529
529
|
platform: PlatformRpcService;
|
package/dist/index.js
CHANGED
|
@@ -4741,7 +4741,7 @@ function resolveAddresses(env) {
|
|
|
4741
4741
|
beacon: env.ISOMETRY_BEACON_ADDRESS ?? DEFAULT_ADDRESSES.beacon
|
|
4742
4742
|
};
|
|
4743
4743
|
}
|
|
4744
|
-
var SDK_VERSION = "0.4.
|
|
4744
|
+
var SDK_VERSION = "0.4.2";
|
|
4745
4745
|
var IsometryClient = class {
|
|
4746
4746
|
rpc;
|
|
4747
4747
|
graph;
|
|
@@ -4750,7 +4750,7 @@ var IsometryClient = class {
|
|
|
4750
4750
|
_addresses;
|
|
4751
4751
|
_chainId;
|
|
4752
4752
|
constructor(config = {}) {
|
|
4753
|
-
const rpcUrl = config.rpcUrl ?? process.env.ISOMETRY_RPC_URL ?? "";
|
|
4753
|
+
const rpcUrl = config.rpcUrl ?? process.env.ISOMETRY_RPC_URL ?? "https://ethereum-sepolia.publicnode.com";
|
|
4754
4754
|
const graphUrl = config.graphUrl ?? process.env.ISOMETRY_GRAPH_URL ?? "https://console.isometry.network/graph/subgraphs/name/isometry";
|
|
4755
4755
|
const privateKey = config.privateKey ?? process.env.ISOMETRY_PRIVATE_KEY;
|
|
4756
4756
|
this._chainId = config.chainId ?? parseInt(process.env.ISOMETRY_CHAIN_ID ?? "11155111");
|