@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
|
@@ -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.
|
|
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 {
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saastemly/voidcommerce",
|
|
3
|
-
"version": "0.2.
|
|
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",
|
package/src/generate/support.ts
CHANGED
|
@@ -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 {
|
|
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.
|