@computesdk/modal 1.2.4 → 1.2.5

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.d.mts CHANGED
@@ -16,9 +16,16 @@ interface ModalConfig {
16
16
  /** Modal environment (sandbox or main) */
17
17
  environment?: string;
18
18
  }
19
+ /**
20
+ * Modal sandbox interface - wraps Modal's Sandbox class
21
+ */
22
+ interface ModalSandbox {
23
+ sandbox: any;
24
+ sandboxId: string;
25
+ }
19
26
  /**
20
27
  * Create a Modal provider instance using the factory pattern
21
28
  */
22
- declare const modal: (config: ModalConfig) => computesdk.Provider;
29
+ declare const modal: (config: ModalConfig) => computesdk.Provider<ModalSandbox>;
23
30
 
24
31
  export { type ModalConfig, modal };
package/dist/index.d.ts CHANGED
@@ -16,9 +16,16 @@ interface ModalConfig {
16
16
  /** Modal environment (sandbox or main) */
17
17
  environment?: string;
18
18
  }
19
+ /**
20
+ * Modal sandbox interface - wraps Modal's Sandbox class
21
+ */
22
+ interface ModalSandbox {
23
+ sandbox: any;
24
+ sandboxId: string;
25
+ }
19
26
  /**
20
27
  * Create a Modal provider instance using the factory pattern
21
28
  */
22
- declare const modal: (config: ModalConfig) => computesdk.Provider;
29
+ declare const modal: (config: ModalConfig) => computesdk.Provider<ModalSandbox>;
23
30
 
24
31
  export { type ModalConfig, modal };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@computesdk/modal",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Modal provider for ComputeSDK",
5
5
  "author": "Garrison",
6
6
  "license": "MIT",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "modal": "^0.3.16",
22
- "computesdk": "1.6.0"
22
+ "computesdk": "1.7.0"
23
23
  },
24
24
  "keywords": [
25
25
  "modal",
@@ -47,7 +47,7 @@
47
47
  "tsup": "^8.0.0",
48
48
  "typescript": "^5.0.0",
49
49
  "vitest": "^1.0.0",
50
- "@computesdk/test-utils": "1.3.0"
50
+ "@computesdk/test-utils": "1.3.1"
51
51
  },
52
52
  "scripts": {
53
53
  "build": "tsup",