@saastemly/voidcommerce 0.2.1 → 0.2.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 CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  runVoid,
23
23
  version,
24
24
  voidAppsIn
25
- } from "./index-xdsp97e4.js";
25
+ } from "./index-sbchkpa6.js";
26
26
  import {
27
27
  LAYOUTS,
28
28
  readManifest,
@@ -1436,7 +1436,7 @@ import color from "picocolors";
1436
1436
  // package.json
1437
1437
  var package_default = {
1438
1438
  name: "@saastemly/voidcommerce",
1439
- version: "0.2.1",
1439
+ version: "0.2.2",
1440
1440
  description: "Void, with a shop in it. `vc init` walks you through Better Auth, betterCommerce and every plugin; everything else passes through to `void`.",
1441
1441
  type: "module",
1442
1442
  license: "MIT",
@@ -2139,7 +2139,8 @@ export const emailNotifications = (emailer: Emailer): NotificationProvider => ({
2139
2139
  `;
2140
2140
  }
2141
2141
  function renderMintTs() {
2142
- return `import { type MintProvider, recordedMint } from "@saastemly/better-commerce/plugins/nft";
2142
+ return `import { getCurrentAuthContext } from "@better-auth/core/context";
2143
+ import { type MintProvider, recordedMint } from "@saastemly/better-commerce/plugins/nft";
2143
2144
 
2144
2145
  /**
2145
2146
  * Where a token comes from.
package/dist/index.js CHANGED
@@ -57,7 +57,7 @@ import {
57
57
  routeProblem,
58
58
  strictDependencies,
59
59
  upsertJsonc
60
- } from "./index-xdsp97e4.js";
60
+ } from "./index-sbchkpa6.js";
61
61
  import {
62
62
  LAYOUTS,
63
63
  MANIFEST_FILE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saastemly/voidcommerce",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Void, with a shop in it. `vc init` walks you through Better Auth, betterCommerce and every plugin; everything else passes through to `void`.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -182,7 +182,8 @@ export const emailNotifications = (emailer: Emailer): NotificationProvider => ({
182
182
  * because the choice lives on the line, not in the catalogue.
183
183
  */
184
184
  export function renderMintTs(): string {
185
- return `import { type MintProvider, recordedMint } from "@saastemly/better-commerce/plugins/nft";
185
+ return `import { getCurrentAuthContext } from "@better-auth/core/context";
186
+ import { type MintProvider, recordedMint } from "@saastemly/better-commerce/plugins/nft";
186
187
 
187
188
  /**
188
189
  * Where a token comes from.