@plasmicapp/loader-core
Advanced tools
Comparing version 1.0.118 to 1.0.119
@@ -479,3 +479,3 @@ "use strict"; | ||
} else { | ||
(0, import_isomorphic_unfetch.default)(API_ENDPOINT, { | ||
this.fetch(API_ENDPOINT, { | ||
method: "POST", | ||
@@ -493,2 +493,3 @@ headers: { | ||
})); | ||
this.fetch = (opts2.nativeFetch && globalThis.fetch ? globalThis.fetch : import_isomorphic_unfetch.default).bind(globalThis); | ||
} | ||
@@ -495,0 +496,0 @@ trackRender(opts2) { |
@@ -236,3 +236,3 @@ var __defProp = Object.defineProperty; | ||
// src/tracker/index.ts | ||
import fetch from "@plasmicapp/isomorphic-unfetch"; | ||
import unfetch from "@plasmicapp/isomorphic-unfetch"; | ||
@@ -445,3 +445,3 @@ // src/tracker/utils.ts | ||
} else { | ||
fetch(API_ENDPOINT, { | ||
this.fetch(API_ENDPOINT, { | ||
method: "POST", | ||
@@ -459,2 +459,3 @@ headers: { | ||
})); | ||
this.fetch = (opts2.nativeFetch && globalThis.fetch ? globalThis.fetch : unfetch).bind(globalThis); | ||
} | ||
@@ -461,0 +462,0 @@ trackRender(opts2) { |
@@ -479,3 +479,3 @@ "use strict"; | ||
} else { | ||
(0, import_isomorphic_unfetch.default)(API_ENDPOINT, { | ||
this.fetch(API_ENDPOINT, { | ||
method: "POST", | ||
@@ -493,2 +493,3 @@ headers: { | ||
})); | ||
this.fetch = (opts2.nativeFetch && globalThis.fetch ? globalThis.fetch : import_isomorphic_unfetch.default).bind(globalThis); | ||
} | ||
@@ -495,0 +496,0 @@ trackRender(opts2) { |
@@ -6,2 +6,3 @@ export interface TrackerOptions { | ||
preview?: boolean; | ||
nativeFetch?: boolean; | ||
} | ||
@@ -22,2 +23,3 @@ export interface TrackerRenderProperties { | ||
private eventQueue; | ||
private fetch; | ||
constructor(opts: TrackerOptions); | ||
@@ -24,0 +26,0 @@ trackRender(opts?: TrackRenderOptions): void; |
{ | ||
"version": "1.0.118", | ||
"version": "1.0.119", | ||
"license": "MIT", | ||
@@ -44,5 +44,5 @@ "types": "./dist/index.d.ts", | ||
"@plasmicapp/isomorphic-unfetch": "1.0.3", | ||
"@plasmicapp/loader-fetcher": "1.0.40" | ||
"@plasmicapp/loader-fetcher": "1.0.41" | ||
}, | ||
"gitHead": "e4d957a6fbbb28c97004906a7b3f043c34f7f38f" | ||
"gitHead": "6f034859cd2316dfed75d01006abbc002149374c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
103124
1648
6
+ Added@plasmicapp/loader-fetcher@1.0.41(transitive)
- Removed@plasmicapp/loader-fetcher@1.0.40(transitive)