@strkfarm/sdk 2.0.0-dev.46 → 2.0.0-dev.48

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.
@@ -145,7 +145,7 @@ var ContractAddr = class _ContractAddr {
145
145
  // src/dataTypes/mynumber.ts
146
146
  import BigNumber2 from "bignumber.js";
147
147
  import { ethers } from "ethers";
148
- var customInspectSymbol = Symbol.for("nodejs.util.inspect.custom");
148
+ var customInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
149
149
  BigNumber2.config({
150
150
  DECIMAL_PLACES: 18
151
151
  });
package/dist/index.js CHANGED
@@ -274,7 +274,7 @@ var Web3Number = class _Web3Number2 extends _Web3Number {
274
274
  [import_util.default.inspect.custom](depth, opts) {
275
275
  return this.toString();
276
276
  }
277
- [Symbol.for("nodejs.util.inspect.custom")](depth, inspectOptions, inspect) {
277
+ [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")](depth, inspectOptions, inspect) {
278
278
  return this.toString();
279
279
  }
280
280
  inspect(depth, opts) {
@@ -325,7 +325,7 @@ var ContractAddr = class _ContractAddr {
325
325
  // src/dataTypes/mynumber.ts
326
326
  var import_bignumber3 = __toESM(require("bignumber.js"));
327
327
  var import_ethers = require("ethers");
328
- var customInspectSymbol = Symbol.for("nodejs.util.inspect.custom");
328
+ var customInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
329
329
  import_bignumber3.default.config({
330
330
  DECIMAL_PLACES: 18
331
331
  });
@@ -543,7 +543,7 @@ var getStackFromMeta = (stack, meta) => {
543
543
  if (typeof stack === "string" && stack.length > 0) {
544
544
  return stack;
545
545
  }
546
- const splat = meta[Symbol.for("splat")];
546
+ const splat = meta[/* @__PURE__ */ Symbol.for("splat")];
547
547
  if (Array.isArray(splat)) {
548
548
  for (const item of splat) {
549
549
  if (item instanceof Error && item.stack) {
@@ -617,7 +617,7 @@ function configureLogger(config = {}) {
617
617
  out += ` stack="${escapeValue(stripAnsi(derivedStack))}"`;
618
618
  }
619
619
  const metaCopy = { ...meta };
620
- delete metaCopy[Symbol.for("splat")];
620
+ delete metaCopy[/* @__PURE__ */ Symbol.for("splat")];
621
621
  if (Object.keys(metaCopy).length > 0) {
622
622
  out += ` meta=${escapeValue(stringifyUnknown(metaCopy))}`;
623
623
  }
package/dist/index.mjs CHANGED
@@ -104,7 +104,7 @@ var Web3Number = class _Web3Number2 extends _Web3Number {
104
104
  [util.inspect.custom](depth, opts) {
105
105
  return this.toString();
106
106
  }
107
- [Symbol.for("nodejs.util.inspect.custom")](depth, inspectOptions, inspect) {
107
+ [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")](depth, inspectOptions, inspect) {
108
108
  return this.toString();
109
109
  }
110
110
  inspect(depth, opts) {
@@ -155,7 +155,7 @@ var ContractAddr = class _ContractAddr {
155
155
  // src/dataTypes/mynumber.ts
156
156
  import BigNumber2 from "bignumber.js";
157
157
  import { ethers } from "ethers";
158
- var customInspectSymbol = Symbol.for("nodejs.util.inspect.custom");
158
+ var customInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
159
159
  BigNumber2.config({
160
160
  DECIMAL_PLACES: 18
161
161
  });
@@ -373,7 +373,7 @@ var getStackFromMeta = (stack, meta) => {
373
373
  if (typeof stack === "string" && stack.length > 0) {
374
374
  return stack;
375
375
  }
376
- const splat = meta[Symbol.for("splat")];
376
+ const splat = meta[/* @__PURE__ */ Symbol.for("splat")];
377
377
  if (Array.isArray(splat)) {
378
378
  for (const item of splat) {
379
379
  if (item instanceof Error && item.stack) {
@@ -447,7 +447,7 @@ function configureLogger(config = {}) {
447
447
  out += ` stack="${escapeValue(stripAnsi(derivedStack))}"`;
448
448
  }
449
449
  const metaCopy = { ...meta };
450
- delete metaCopy[Symbol.for("splat")];
450
+ delete metaCopy[/* @__PURE__ */ Symbol.for("splat")];
451
451
  if (Object.keys(metaCopy).length > 0) {
452
452
  out += ` meta=${escapeValue(stringifyUnknown(metaCopy))}`;
453
453
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strkfarm/sdk",
3
- "version": "2.0.0-dev.46",
3
+ "version": "2.0.0-dev.48",
4
4
  "description": "STRKFarm TS SDK (Meant for our internal use, but feel free to use it)",
5
5
  "typings": "dist/index.d.ts",
6
6
  "types": "dist/index.d.ts",
@@ -78,63 +78,5 @@
78
78
  "redis": "^4.7.0",
79
79
  "stacktrace-js": "^2.0.2",
80
80
  "winston": "^3.13.0"
81
- },
82
- "files": [
83
- "dist",
84
- "src"
85
- ],
86
- "scripts": {
87
- "test": "jest",
88
- "build": "tsup --clean && pnpm run build:esm && npm run build:dts && npm run build:iife && npm run build-cli && pnpm run build:iife-esm",
89
- "build:esm": "tsup --clean false --format esm --platform node",
90
- "build-cli:esm": "tsup ./src/cli.ts --clean false --format esm --platform node",
91
- "build-cli": "tsup ./src/cli.ts --clean false && pnpm run build-cli:esm",
92
- "build:dts": "tsup --clean false --dts-only",
93
- "build:iife": "tsup --clean false --format iife --platform browser",
94
- "build:iife-esm": "tsup --clean false --format iife --format esm --platform browser"
95
- },
96
- "keywords": [],
97
- "author": "",
98
- "license": "ISC",
99
- "devDependencies": {
100
- "@types/jest": "^29.5.12",
101
- "@types/node-telegram-bot-api": "^0.64.7",
102
- "jest": "^29.7.0",
103
- "jest-environment-jsdom": "^29.7.0",
104
- "request": "^2.88.2",
105
- "ts-jest": "^29.1.5",
106
- "ts-node": "^10.9.2",
107
- "tsup": "^8.1.0",
108
- "typedoc": "^0.26.3",
109
- "typescript": "^5.5.3"
110
- },
111
- "peerDependencies": {
112
- "@types/react": "^19.1.2",
113
- "axios": "^1.7.2",
114
- "react": "19.1.2",
115
- "starknet": "9.2.1"
116
- },
117
- "publishConfig": {
118
- "tag": "staging"
119
- },
120
- "dependencies": {
121
- "@apollo/client": "3.11.8",
122
- "@avnu/avnu-sdk": "3.0.2",
123
- "@ericnordelo/strk-merkle-tree": "^1.0.0",
124
- "@noble/curves": "^1.0.0",
125
- "@noble/hashes": "^2.0.0",
126
- "@scure/starknet": "^2.0.0",
127
- "bignumber.js": "4.0.4",
128
- "browser-assert": "^1.2.1",
129
- "chalk": "^4.1.2",
130
- "commander": "^12.1.0",
131
- "ethers": "^6.13.5",
132
- "graphql": "16.9.0",
133
- "inquirer": "^10.1.2",
134
- "node-telegram-bot-api": "^0.66.0",
135
- "proxy-from-env": "^1.1.0",
136
- "redis": "^4.7.0",
137
- "stacktrace-js": "^2.0.2",
138
- "winston": "^3.13.0"
139
81
  }
140
82
  }