@solvapay/server 1.0.0-preview.2 → 1.0.0-preview.3

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/edge.js CHANGED
@@ -314,7 +314,7 @@ var PaywallError = class extends Error {
314
314
  var SolvaPayPaywall = class {
315
315
  constructor(apiClient, options = {}) {
316
316
  this.apiClient = apiClient;
317
- this.debug = options.debug ?? process.env.SOLVAPAY_DEBUG !== "false";
317
+ this.debug = options.debug ?? process.env.SOLVAPAY_DEBUG === "true";
318
318
  }
319
319
  customerCreationAttempts = /* @__PURE__ */ new Set();
320
320
  customerRefMapping = /* @__PURE__ */ new Map();
package/dist/index.cjs CHANGED
@@ -4573,7 +4573,7 @@ var PaywallError = class extends Error {
4573
4573
  var SolvaPayPaywall = class {
4574
4574
  constructor(apiClient, options = {}) {
4575
4575
  this.apiClient = apiClient;
4576
- this.debug = options.debug ?? process.env.SOLVAPAY_DEBUG !== "false";
4576
+ this.debug = options.debug ?? process.env.SOLVAPAY_DEBUG === "true";
4577
4577
  }
4578
4578
  customerCreationAttempts = /* @__PURE__ */ new Set();
4579
4579
  customerRefMapping = /* @__PURE__ */ new Map();
package/dist/index.js CHANGED
@@ -315,7 +315,7 @@ var PaywallError = class extends Error {
315
315
  var SolvaPayPaywall = class {
316
316
  constructor(apiClient, options = {}) {
317
317
  this.apiClient = apiClient;
318
- this.debug = options.debug ?? process.env.SOLVAPAY_DEBUG !== "false";
318
+ this.debug = options.debug ?? process.env.SOLVAPAY_DEBUG === "true";
319
319
  }
320
320
  customerCreationAttempts = /* @__PURE__ */ new Set();
321
321
  customerRefMapping = /* @__PURE__ */ new Map();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solvapay/server",
3
- "version": "1.0.0-preview.2",
3
+ "version": "1.0.0-preview.3",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -13,6 +13,11 @@
13
13
  "deno": "./dist/edge.js",
14
14
  "import": "./dist/index.js",
15
15
  "require": "./dist/index.cjs"
16
+ },
17
+ "./edge": {
18
+ "types": "./dist/edge.d.ts",
19
+ "import": "./dist/edge.js",
20
+ "default": "./dist/edge.js"
16
21
  }
17
22
  },
18
23
  "files": [
@@ -32,7 +37,7 @@
32
37
  },
33
38
  "sideEffects": false,
34
39
  "dependencies": {
35
- "@solvapay/core": "1.0.0-preview.2"
40
+ "@solvapay/core": "1.0.0-preview.3"
36
41
  },
37
42
  "devDependencies": {
38
43
  "dotenv": "^17.2.3",