@settlemint/sdk-cli 1.1.9 → 1.1.10

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/README.md CHANGED
@@ -249,7 +249,7 @@ settlemint scs subgraph deploy --accept-defaults <subgraph-name>
249
249
 
250
250
  ## API Reference
251
251
 
252
- See the [documentation](https://github.com/settlemint/sdk/tree/v1.1.9/sdk/cli/docs/settlemint.md) for available commands.
252
+ See the [documentation](https://github.com/settlemint/sdk/tree/v1.1.10/sdk/cli/docs/settlemint.md) for available commands.
253
253
 
254
254
  ## Contributing
255
255
 
package/dist/cli.js CHANGED
@@ -274462,7 +274462,7 @@ function pruneCurrentEnv(currentEnv, env2) {
274462
274462
  var package_default = {
274463
274463
  name: "@settlemint/sdk-cli",
274464
274464
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
274465
- version: "1.1.9",
274465
+ version: "1.1.10",
274466
274466
  type: "module",
274467
274467
  private: false,
274468
274468
  license: "FSL-1.1-MIT",
@@ -274510,13 +274510,13 @@ var package_default = {
274510
274510
  "@inquirer/input": "4.1.6",
274511
274511
  "@inquirer/password": "4.0.9",
274512
274512
  "@inquirer/select": "4.0.9",
274513
- "@settlemint/sdk-js": "1.1.9",
274514
- "@settlemint/sdk-utils": "1.1.9",
274515
- "@types/node": "22.13.4",
274513
+ "@settlemint/sdk-js": "1.1.10",
274514
+ "@settlemint/sdk-utils": "1.1.10",
274515
+ "@types/node": "22.13.5",
274516
274516
  "@types/semver": "7.5.8",
274517
274517
  "@types/which": "3.0.4",
274518
274518
  "get-tsconfig": "4.10.0",
274519
- giget: "1.2.4",
274519
+ giget: "1.2.5",
274520
274520
  "is-in-ci": "1.0.0",
274521
274521
  semver: "7.7.1",
274522
274522
  slugify: "1.6.6",
@@ -274525,7 +274525,7 @@ var package_default = {
274525
274525
  yoctocolors: "2.1.1"
274526
274526
  },
274527
274527
  peerDependencies: {
274528
- hardhat: "2.22.18"
274528
+ hardhat: "2.22.19"
274529
274529
  },
274530
274530
  peerDependenciesMeta: {
274531
274531
  hardhat: {
@@ -278629,13 +278629,16 @@ export const { client: hasuraClient, graphql: hasuraGraphql } = createHasuraClie
278629
278629
  introspection: introspection;
278630
278630
  disableMasking: true;
278631
278631
  scalars: {
278632
- DateTime: Date;
278633
- JSON: Record<string, unknown>;
278634
- Bytes: string;
278635
- Int8: string;
278636
- BigInt: string;
278637
- BigDecimal: string;
278638
- Timestamp: string;
278632
+ timestamp: string;
278633
+ timestampz: string;
278634
+ uuid: string;
278635
+ date: string;
278636
+ time: string;
278637
+ jsonb: string;
278638
+ numeric: string;
278639
+ interval: string;
278640
+ geometry: string;
278641
+ geography: string;
278639
278642
  };
278640
278643
  }>({
278641
278644
  instance: process.env.SETTLEMINT_HASURA_ENDPOINT ?? "",
@@ -278687,13 +278690,8 @@ export const { client: portalClient, graphql: portalGraphql } = createPortalClie
278687
278690
  introspection: introspection;
278688
278691
  disableMasking: true;
278689
278692
  scalars: {
278690
- DateTime: Date;
278691
- JSON: Record<string, unknown>;
278692
- Bytes: string;
278693
- Int8: string;
278694
- BigInt: string;
278695
- BigDecimal: string;
278696
- Timestamp: string;
278693
+ /** Used for metadata field */
278694
+ JSON: unknown;
278697
278695
  };
278698
278696
  }>({
278699
278697
  instance: process.env.SETTLEMINT_PORTAL_GRAPHQL_ENDPOINT!,
@@ -278760,9 +278758,8 @@ async function codegenTheGraph(env2, subgraphNames) {
278760
278758
  export const { client: ${graphqlClientVariable}, graphql: ${graphqlVariable} } = createTheGraphClient<{
278761
278759
  introspection: ${introspectionVariable};
278762
278760
  disableMasking: true;
278761
+ // https://thegraph.com/docs/en/subgraphs/developing/creating/ql-schema/#built-in-scalar-types
278763
278762
  scalars: {
278764
- DateTime: Date;
278765
- JSON: Record<string, unknown>;
278766
278763
  Bytes: string;
278767
278764
  Int8: string;
278768
278765
  BigInt: string;
@@ -280166,13 +280163,22 @@ export const { client: blockscoutClient, graphql: blockscoutGraphql } = createBl
280166
280163
  introspection: introspection;
280167
280164
  disableMasking: true;
280168
280165
  scalars: {
280169
- DateTime: Date;
280170
- JSON: Record<string, unknown>;
280171
- Bytes: string;
280172
- Int8: string;
280173
- BigInt: string;
280174
- BigDecimal: string;
280175
- Timestamp: string;
280166
+ /** 40 hex characters (160 bits/20 bytes) derived from the public key, prefixed with 0x */
280167
+ AddressHash: string;
280168
+ /** Unpadded big-endian hexadecimal number where each byte pair maps to underlying binary */
280169
+ Data: string;
280170
+ /** ISO8601 formatted UTC datetime string */
280171
+ DateTime: string;
280172
+ /** String representation of a signed double-precision decimal value */
280173
+ Decimal: string;
280174
+ /** 32-byte KECCAK-256 hash */
280175
+ FullHash: string;
280176
+ /** Arbitrary JSON string data as UTF-8 */
280177
+ Json: string;
280178
+ /** 16 hex character (128 bits/8 bytes) nonce from Proof-of-Work */
280179
+ NonceHash: string;
280180
+ /** Smallest fractional unit of Ether, represented as a string for integer math */
280181
+ Wei: string;
280176
280182
  };
280177
280183
  }>({
280178
280184
  instance: process.env.SETTLEMINT_BLOCKSCOUT_ENDPOINT!,
@@ -281339,12 +281345,12 @@ async function templatePrompt(platformConfig, argument) {
281339
281345
  // src/utils/download-extract.ts
281340
281346
  import { mkdir as mkdir5 } from "node:fs/promises";
281341
281347
 
281342
- // ../../node_modules/giget/dist/shared/giget.D-_6aM9e.mjs
281348
+ // ../../node_modules/giget/dist/shared/giget.BgKdRmJH.mjs
281343
281349
  var import_tar = __toESM(require_tar(), 1);
281344
281350
  import { readFile as readFile6, writeFile as writeFile7, mkdir as mkdir4, rm as rm3 } from "node:fs/promises";
281345
281351
  import { existsSync as existsSync3, createWriteStream, readdirSync as readdirSync2 } from "node:fs";
281346
281352
 
281347
- // ../../node_modules/pathe/dist/shared/pathe.UZ-hd4nF.mjs
281353
+ // ../../node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs
281348
281354
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
281349
281355
  function normalizeWindowsPath(input = "") {
281350
281356
  if (!input) {
@@ -281572,7 +281578,7 @@ var defuArrayFn = createDefu((object, key2, currentValue) => {
281572
281578
  }
281573
281579
  });
281574
281580
 
281575
- // ../../node_modules/nypm/dist/shared/nypm.DqHADQHW.mjs
281581
+ // ../../node_modules/nypm/dist/shared/nypm.BwVzLgAA.mjs
281576
281582
  import { x as x6 } from "tinyexec";
281577
281583
  import { existsSync as existsSync2 } from "node:fs";
281578
281584
  import { readFile as readFile5 } from "node:fs/promises";
@@ -281600,6 +281606,9 @@ function cached(fn) {
281600
281606
  };
281601
281607
  }
281602
281608
  var hasCorepack = cached(async () => {
281609
+ if (globalThis.process?.versions?.webcontainer) {
281610
+ return false;
281611
+ }
281603
281612
  try {
281604
281613
  const { exitCode: exitCode2 } = await x6("corepack", ["--version"]);
281605
281614
  return exitCode2 === 0;
@@ -281766,7 +281775,7 @@ async function installDependencies2(options = {}) {
281766
281775
  // ../../node_modules/nypm/dist/index.mjs
281767
281776
  import"tinyexec";
281768
281777
 
281769
- // ../../node_modules/giget/dist/shared/giget.D-_6aM9e.mjs
281778
+ // ../../node_modules/giget/dist/shared/giget.BgKdRmJH.mjs
281770
281779
  import { pipeline } from "node:stream";
281771
281780
  var import_proxy = __toESM(require_proxy(), 1);
281772
281781
  import { homedir as homedir2 } from "node:os";
@@ -285673,4 +285682,4 @@ async function sdkCliCommand(argv = process.argv) {
285673
285682
  // src/cli.ts
285674
285683
  sdkCliCommand();
285675
285684
 
285676
- //# debugId=02BD689ADA4F9A7464756E2164756E21
285685
+ //# debugId=EBA1A3FEEDDE4C9964756E2164756E21