@settlemint/sdk-cli 0.6.46 → 0.6.47

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 CHANGED
@@ -256407,10 +256407,10 @@ export const { client: hasuraClient, graphql: hasuraGraphql } = createHasuraClie
256407
256407
  adminSecret: process.env.SETTLEMINT_HASURA_ADMIN_SECRET ?? "", // undefined in browser, by design to not leak the secrets
256408
256408
  });`;
256409
256409
  await writeTemplate(hasuraTemplate, "/lib/settlemint", "hasura.ts");
256410
- const drizzleTemplate = `import { createDrizzleClient } from "@settlemint/sdk-hasura";
256410
+ const drizzleTemplate = `import { createDrizzleClient } from "@settlemint/sdk-hasura/drizzle";
256411
256411
  import type { NodePgDatabase } from "drizzle-orm/node-postgres";
256412
256412
 
256413
- export const drizzleClient: NodePgDatabase = createDrizzleClient({
256413
+ export const db: NodePgDatabase = createDrizzleClient({
256414
256414
  databaseUrl: process.env.SETTLEMINT_HASURA_DATABASE_URL ?? "",
256415
256415
  maxPoolSize: Number(process.env.SETTLEMINT_HASURA_DATABASE_MAX_POOL_SIZE),
256416
256416
  idleTimeoutMillis: Number(process.env.SETTLEMINT_HASURA_DATABASE_IDLE_TIMEOUT),
@@ -272362,7 +272362,7 @@ function connectCommand() {
272362
272362
  var package_default = {
272363
272363
  name: "@settlemint/sdk-cli",
272364
272364
  description: "SettleMint SDK, integrate SettleMint into your application with ease.",
272365
- version: "0.6.46",
272365
+ version: "0.6.47",
272366
272366
  type: "module",
272367
272367
  private: false,
272368
272368
  license: "FSL-1.1-MIT",
@@ -272413,8 +272413,8 @@ var package_default = {
272413
272413
  "@inquirer/input": "4.1.0",
272414
272414
  "@inquirer/password": "4.0.3",
272415
272415
  "@inquirer/select": "4.0.3",
272416
- "@settlemint/sdk-js": "0.6.46",
272417
- "@settlemint/sdk-utils": "0.6.46",
272416
+ "@settlemint/sdk-js": "0.6.47",
272417
+ "@settlemint/sdk-utils": "0.6.47",
272418
272418
  "get-tsconfig": "4.8.1",
272419
272419
  giget: "1.2.3"
272420
272420
  },
@@ -275760,4 +275760,4 @@ sdkcli.parseAsync(process.argv).catch((reason) => {
275760
275760
  cancel2(reason);
275761
275761
  });
275762
275762
 
275763
- //# debugId=E7F043F926A2152A64756E2164756E21
275763
+ //# debugId=7111325D9E2DA93864756E2164756E21