@strkfarm/sdk 1.0.7 → 1.0.8
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 +3 -0
- package/dist/cli.mjs +9 -0
- package/dist/index.browser.global.js +2361 -7
- package/dist/index.d.ts +4 -0
- package/dist/index.js +28 -7
- package/dist/index.mjs +35 -7
- package/package.json +2 -1
- package/src/modules/pricer.ts +38 -7
package/dist/cli.js
CHANGED
package/dist/cli.mjs
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
3
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
4
|
+
}) : x)(function(x) {
|
|
5
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
6
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
|
+
});
|
|
2
8
|
|
|
3
9
|
// src/cli.ts
|
|
4
10
|
import { Command } from "commander";
|
|
@@ -173,6 +179,9 @@ var Global = class {
|
|
|
173
179
|
}
|
|
174
180
|
};
|
|
175
181
|
|
|
182
|
+
// src/modules/pricer.ts
|
|
183
|
+
var CoinMarketCap = __require("coinmarketcap-api");
|
|
184
|
+
|
|
176
185
|
// src/modules/pragma.ts
|
|
177
186
|
import { Contract } from "starknet";
|
|
178
187
|
|