@unifold/core 0.1.33 → 0.1.35

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.js CHANGED
@@ -64,7 +64,7 @@ var API_BASE_URL = (() => {
64
64
  return "https://api.unifold.io";
65
65
  }
66
66
  })();
67
- var DEFAULT_PUBLISHABLE_KEY = "pk_test_123";
67
+ var DEFAULT_PUBLISHABLE_KEY = "";
68
68
  var DEFAULT_CONFIG = {};
69
69
  function setApiConfig(config) {
70
70
  if (config.publishableKey !== void 0) {
@@ -96,11 +96,6 @@ function validatePublishableKey(key) {
96
96
  "Unifold SDK: No publishable key configured. Please provide a valid publishable key via setApiConfig() or pass it directly to the API function."
97
97
  );
98
98
  }
99
- if (key === "pk_test_123") {
100
- console.warn(
101
- 'Unifold SDK: Using default test key "pk_test_123". This should only be used for local development. Please use a real publishable key in production.'
102
- );
103
- }
104
99
  }
105
100
  function getIconUrl(iconPath) {
106
101
  const normalizedPath = iconPath.startsWith("/") ? iconPath : `/${iconPath}`;
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ var API_BASE_URL = (() => {
6
6
  return "https://api.unifold.io";
7
7
  }
8
8
  })();
9
- var DEFAULT_PUBLISHABLE_KEY = "pk_test_123";
9
+ var DEFAULT_PUBLISHABLE_KEY = "";
10
10
  var DEFAULT_CONFIG = {};
11
11
  function setApiConfig(config) {
12
12
  if (config.publishableKey !== void 0) {
@@ -38,11 +38,6 @@ function validatePublishableKey(key) {
38
38
  "Unifold SDK: No publishable key configured. Please provide a valid publishable key via setApiConfig() or pass it directly to the API function."
39
39
  );
40
40
  }
41
- if (key === "pk_test_123") {
42
- console.warn(
43
- 'Unifold SDK: Using default test key "pk_test_123". This should only be used for local development. Please use a real publishable key in production.'
44
- );
45
- }
46
41
  }
47
42
  function getIconUrl(iconPath) {
48
43
  const normalizedPath = iconPath.startsWith("/") ? iconPath : `/${iconPath}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifold/core",
3
- "version": "0.1.33",
3
+ "version": "0.1.35",
4
4
  "description": "Unifold Core SDK - Core types, API client, and business logic",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",