@ai-billing/core 0.0.1-alpha.0 → 0.0.1-alpha.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/index.cjs CHANGED
@@ -23,7 +23,7 @@ __export(index_exports, {
23
23
  version: () => version
24
24
  });
25
25
  module.exports = __toCommonJS(index_exports);
26
- var version = "0.0.1-alpha.0";
26
+ var version = "0.0.1-alpha.2";
27
27
  var initializeBilling = (config) => {
28
28
  return `ai-billing core v${version} initialized for ${config.provider}`;
29
29
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["declare const __PACKAGE_VERSION__: string;\n\nexport const version = __PACKAGE_VERSION__;\n\nexport type BillingProvider = \"stripe\" | \"lemonsqueezy\" | \"polar\";\n\nexport interface BillingConfig {\n apiKey: string;\n provider: BillingProvider;\n}\n\nexport const initializeBilling = (config: BillingConfig) => {\n return `ai-billing core v${version} initialized for ${config.provider}`;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,IAAM,UAAU;AAShB,IAAM,oBAAoB,CAAC,WAA0B;AAC1D,SAAO,oBAAoB,OAAO,oBAAoB,OAAO,QAAQ;AACvE;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["declare const __PACKAGE_VERSION__: string;\n\nexport const version = __PACKAGE_VERSION__;\n\nexport type BillingProvider = 'stripe' | 'lemonsqueezy' | 'polar';\n\nexport interface BillingConfig {\n apiKey: string;\n provider: BillingProvider;\n}\n\nexport const initializeBilling = (config: BillingConfig) => {\n return `ai-billing core v${version} initialized for ${config.provider}`;\n};\n\n// comment for release test\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,IAAM,UAAU;AAShB,IAAM,oBAAoB,CAAC,WAA0B;AAC1D,SAAO,oBAAoB,OAAO,oBAAoB,OAAO,QAAQ;AACvE;","names":[]}
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  declare const version: string;
2
- type BillingProvider = "stripe" | "lemonsqueezy" | "polar";
2
+ type BillingProvider = 'stripe' | 'lemonsqueezy' | 'polar';
3
3
  interface BillingConfig {
4
4
  apiKey: string;
5
5
  provider: BillingProvider;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  declare const version: string;
2
- type BillingProvider = "stripe" | "lemonsqueezy" | "polar";
2
+ type BillingProvider = 'stripe' | 'lemonsqueezy' | 'polar';
3
3
  interface BillingConfig {
4
4
  apiKey: string;
5
5
  provider: BillingProvider;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // src/index.ts
2
- var version = "0.0.1-alpha.0";
2
+ var version = "0.0.1-alpha.2";
3
3
  var initializeBilling = (config) => {
4
4
  return `ai-billing core v${version} initialized for ${config.provider}`;
5
5
  };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["declare const __PACKAGE_VERSION__: string;\n\nexport const version = __PACKAGE_VERSION__;\n\nexport type BillingProvider = \"stripe\" | \"lemonsqueezy\" | \"polar\";\n\nexport interface BillingConfig {\n apiKey: string;\n provider: BillingProvider;\n}\n\nexport const initializeBilling = (config: BillingConfig) => {\n return `ai-billing core v${version} initialized for ${config.provider}`;\n};\n"],"mappings":";AAEO,IAAM,UAAU;AAShB,IAAM,oBAAoB,CAAC,WAA0B;AAC1D,SAAO,oBAAoB,OAAO,oBAAoB,OAAO,QAAQ;AACvE;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["declare const __PACKAGE_VERSION__: string;\n\nexport const version = __PACKAGE_VERSION__;\n\nexport type BillingProvider = 'stripe' | 'lemonsqueezy' | 'polar';\n\nexport interface BillingConfig {\n apiKey: string;\n provider: BillingProvider;\n}\n\nexport const initializeBilling = (config: BillingConfig) => {\n return `ai-billing core v${version} initialized for ${config.provider}`;\n};\n\n// comment for release test\n"],"mappings":";AAEO,IAAM,UAAU;AAShB,IAAM,oBAAoB,CAAC,WAA0B;AAC1D,SAAO,oBAAoB,OAAO,oBAAoB,OAAO,QAAQ;AACvE;","names":[]}
@@ -23,7 +23,7 @@ __export(index_exports, {
23
23
  version: () => version
24
24
  });
25
25
  module.exports = __toCommonJS(index_exports);
26
- var version = "0.0.1-alpha.0";
26
+ var version = "0.0.1-alpha.2";
27
27
  var initializeStripeBilling = () => {
28
28
  return `ai-billing core v${version} initialized for stripe`;
29
29
  };
@@ -1,5 +1,5 @@
1
1
  // src/stripe/index.ts
2
- var version = "0.0.1-alpha.0";
2
+ var version = "0.0.1-alpha.2";
3
3
  var initializeStripeBilling = () => {
4
4
  return `ai-billing core v${version} initialized for stripe`;
5
5
  };
package/package.json CHANGED
@@ -1,7 +1,13 @@
1
1
  {
2
2
  "name": "@ai-billing/core",
3
- "version": "0.0.1-alpha.0",
3
+ "version": "0.0.1-alpha.2",
4
+ "license": "Apache-2.0",
4
5
  "type": "module",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/narevai/ai-billing.git",
9
+ "directory": "packages/core"
10
+ },
5
11
  "main": "./dist/index.js",
6
12
  "types": "./dist/index.d.ts",
7
13
  "exports": {