@rasputin-ai/sveltekit 0.7.1 → 0.8.0

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.
@@ -11,5 +11,6 @@ export type RasputinSvelteKitClientOptions = {
11
11
  apiUrl?: string;
12
12
  logSuccess?: boolean;
13
13
  installGlobalHandlers?: boolean;
14
+ scrubPII?: boolean;
14
15
  };
15
16
  //# sourceMappingURL=options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/client/options.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC5C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC"}
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/client/options.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,8BAA8B,GAAG;IAC5C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
@@ -13,7 +13,7 @@ import {
13
13
 
14
14
  // src/sdk-meta.ts
15
15
  var SDK_NAME = "@rasputin-ai/sveltekit";
16
- var SDK_VERSION = "0.7.1";
16
+ var SDK_VERSION = "0.8.0";
17
17
 
18
18
  // src/runtime/node.ts
19
19
  var inertScope = () => ({
@@ -1,4 +1,4 @@
1
1
  /** Generated by scripts/generate-sdk-meta.ts — do not edit. */
2
2
  export declare const SDK_NAME = "@rasputin-ai/sveltekit";
3
- export declare const SDK_VERSION = "0.7.1";
3
+ export declare const SDK_VERSION = "0.8.0";
4
4
  //# sourceMappingURL=sdk-meta.d.ts.map
@@ -2689,6 +2689,35 @@ var JSON_METHOD_CALLEE = "globalThis.__rasputinM";
2689
2689
  var JSON_AWAIT_CALLEE = "globalThis.__rasputinA";
2690
2690
  var JSON_ADOPT_CALLEE = "globalThis.__rasputinP";
2691
2691
  var JSON_PRODUCER_GUARD = "globalThis.__rasputinM??=function(r,f){return Reflect.apply(f,r,[].slice.call(arguments,2))};globalThis.__rasputinA??=function(v){return v};globalThis.__rasputinP??=function(p){return p};";
2692
+ var NON_PROVENANCE_ROOTS = /* @__PURE__ */ new Set([
2693
+ "String",
2694
+ "Number",
2695
+ "Boolean",
2696
+ "Object",
2697
+ "Array",
2698
+ "Error",
2699
+ "TypeError",
2700
+ "RangeError",
2701
+ "SyntaxError",
2702
+ "URIError",
2703
+ "EvalError",
2704
+ "ReferenceError",
2705
+ "Symbol",
2706
+ "BigInt",
2707
+ "Math",
2708
+ "JSON",
2709
+ "Date",
2710
+ "Promise",
2711
+ "console",
2712
+ "parseInt",
2713
+ "parseFloat",
2714
+ "isNaN",
2715
+ "isFinite",
2716
+ "encodeURIComponent",
2717
+ "decodeURIComponent",
2718
+ "encodeURI",
2719
+ "decodeURI"
2720
+ ]);
2692
2721
  var isSimpleReceiver = (expression) => {
2693
2722
  const receiver = peel(expression);
2694
2723
  return ts10.isIdentifier(receiver) || receiver.kind === ts10.SyntaxKind.ThisKeyword;
@@ -2769,35 +2798,6 @@ var isReturnedOrBoundCall = (node) => {
2769
2798
  }
2770
2799
  return false;
2771
2800
  };
2772
- var NON_PROVENANCE_ROOTS = /* @__PURE__ */ new Set([
2773
- "String",
2774
- "Number",
2775
- "Boolean",
2776
- "Object",
2777
- "Array",
2778
- "Error",
2779
- "TypeError",
2780
- "RangeError",
2781
- "SyntaxError",
2782
- "URIError",
2783
- "EvalError",
2784
- "ReferenceError",
2785
- "Symbol",
2786
- "BigInt",
2787
- "Math",
2788
- "JSON",
2789
- "Date",
2790
- "Promise",
2791
- "console",
2792
- "parseInt",
2793
- "parseFloat",
2794
- "isNaN",
2795
- "isFinite",
2796
- "encodeURIComponent",
2797
- "decodeURIComponent",
2798
- "encodeURI",
2799
- "decodeURI"
2800
- ]);
2801
2801
  var callCanCarryProvenance = (node) => {
2802
2802
  const name = methodName(node);
2803
2803
  if (name === "json" || name === "parse") return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasputin-ai/sveltekit",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "description": "Official Rasputin AI SDK for SvelteKit.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -42,9 +42,9 @@
42
42
  "access": "public"
43
43
  },
44
44
  "dependencies": {
45
- "@rasputin-ai/browser": "0.7.1",
46
- "@rasputin-ai/core": "0.7.1",
47
- "@rasputin-ai/node": "0.7.1",
45
+ "@rasputin-ai/browser": "0.8.0",
46
+ "@rasputin-ai/core": "0.8.0",
47
+ "@rasputin-ai/node": "0.8.0",
48
48
  "typescript": ">=5"
49
49
  },
50
50
  "peerDependencies": {