@instantdb/platform 0.22.96-experimental.add-posthog-frontend.20386914944.1 → 0.22.96

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.
@@ -1,35 +1,35 @@
1
1
 
2
- > @instantdb/platform@0.22.96-experimental.add-posthog-frontend.20386914944.1 build /home/runner/work/instant/instant/client/packages/platform
2
+ > @instantdb/platform@0.22.96 build /home/runner/work/instant/instant/client/packages/platform
3
3
  > rm -rf dist; npm run build:tshy && npm run build:standalone && npm run check-exports
4
4
 
5
5
  npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
6
6
  npm warn Unknown user config "always-auth". This will stop working in the next major version of npm.
7
7
 
8
- > @instantdb/platform@0.22.96-experimental.add-posthog-frontend.20386914944.1 build:tshy
8
+ > @instantdb/platform@0.22.96 build:tshy
9
9
  > tshy
10
10
 
11
11
  npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
12
12
  npm warn Unknown user config "always-auth". This will stop working in the next major version of npm.
13
13
 
14
- > @instantdb/platform@0.22.96-experimental.add-posthog-frontend.20386914944.1 build:standalone
14
+ > @instantdb/platform@0.22.96 build:standalone
15
15
  > vite build
16
16
 
17
17
  vite v5.4.14 building for production...
18
18
  transforming...
19
- ✓ 75 modules transformed.
19
+ ✓ 78 modules transformed.
20
20
  rendering chunks...
21
21
  computing gzip size...
22
- dist/standalone/index.umd.cjs 350.79 kB │ gzip: 95.28 kB
23
- dist/standalone/index.js 457.16 kB │ gzip: 107.14 kB
24
- ✓ built in 2.19s
22
+ dist/standalone/index.umd.cjs 350.74 kB │ gzip: 95.24 kB
23
+ dist/standalone/index.js 457.11 kB │ gzip: 107.10 kB
24
+ ✓ built in 2.21s
25
25
  npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
26
26
  npm warn Unknown user config "always-auth". This will stop working in the next major version of npm.
27
27
 
28
- > @instantdb/platform@0.22.96-experimental.add-posthog-frontend.20386914944.1 check-exports
28
+ > @instantdb/platform@0.22.96 check-exports
29
29
  > attw --pack .
30
30
 
31
31
 
32
- @instantdb/platform v0.22.96-experimental.add-posthog-frontend.20386914944.1
32
+ @instantdb/platform v0.22.96
33
33
 
34
34
  Build tools:
35
35
  - @arethetypeswrong/cli@^0.17.4
@@ -23,7 +23,7 @@ const j = {
23
23
  mutable: "mutable",
24
24
  immutable: "immutable"
25
25
  }, Bt = {};
26
- function Re(r, t) {
26
+ function _e(r, t) {
27
27
  return r instanceof Map ? r.has(t) : Object.prototype.hasOwnProperty.call(r, t);
28
28
  }
29
29
  function rs(r, t) {
@@ -53,7 +53,7 @@ function St(r) {
53
53
  function v(r) {
54
54
  return typeof r != "object" ? null : r == null ? void 0 : r[Ms];
55
55
  }
56
- function Rt(r) {
56
+ function _t(r) {
57
57
  var t;
58
58
  const s = v(r);
59
59
  return s ? (t = s.copy) !== null && t !== void 0 ? t : s.original : r;
@@ -64,18 +64,18 @@ function Se(r, t) {
64
64
  let s;
65
65
  return Object.getPrototypeOf(r) === Object.prototype || Array.isArray(r) || r instanceof Map || r instanceof Set || !!(t != null && t.mark) && ((s = t.mark(r, ee)) === ee.immutable || typeof s == "function");
66
66
  }
67
- function Rs(r, t = []) {
67
+ function _s(r, t = []) {
68
68
  if (Object.hasOwnProperty.call(r, "key")) {
69
69
  const s = r.parent.copy, e = v(me(s, r.key));
70
70
  if (e !== null && (e == null ? void 0 : e.original) !== r.original)
71
71
  return null;
72
72
  const i = r.parent.type === 3, a = i ? Array.from(r.parent.setMap.keys()).indexOf(r.key) : r.key;
73
- if (!(i && s.size > a || Re(s, a)))
73
+ if (!(i && s.size > a || _e(s, a)))
74
74
  return null;
75
75
  t.push(a);
76
76
  }
77
77
  if (r.parent)
78
- return Rs(r.parent, t);
78
+ return _s(r.parent, t);
79
79
  t.reverse();
80
80
  try {
81
81
  yi(r.copy, t);
@@ -90,7 +90,7 @@ function Ve(r) {
90
90
  function me(r, t) {
91
91
  return Ve(r) === 2 ? r.get(t) : r[t];
92
92
  }
93
- function _t(r, t, s) {
93
+ function Rt(r, t, s) {
94
94
  Ve(r) === 2 ? r.set(t, s) : r[t] = s;
95
95
  }
96
96
  function yt(r, t) {
@@ -171,7 +171,7 @@ function V(r) {
171
171
  }
172
172
  function Fe(r) {
173
173
  if (!Se(r))
174
- return Rt(r);
174
+ return _t(r);
175
175
  if (Array.isArray(r))
176
176
  return r.map(Fe);
177
177
  if (r instanceof Map) {
@@ -218,7 +218,7 @@ function gi(r, t) {
218
218
  } else
219
219
  r.forEach((e, i) => t(i, e, r));
220
220
  }
221
- function _s(r, t, s) {
221
+ function Rs(r, t, s) {
222
222
  if (St(r) || !Se(r, s) || t.has(r) || Object.isFrozen(r))
223
223
  return;
224
224
  const e = r instanceof Set, i = e ? /* @__PURE__ */ new Map() : void 0;
@@ -228,9 +228,9 @@ function _s(r, t, s) {
228
228
  const c = v(n);
229
229
  V(c);
230
230
  const h = !((o = c.assignedMap) === null || o === void 0) && o.size || c.operated ? c.copy : c.original;
231
- _t(e ? i : r, a, h);
231
+ Rt(e ? i : r, a, h);
232
232
  } else
233
- _s(n, t, s);
233
+ Rs(n, t, s);
234
234
  }), i) {
235
235
  const a = r, n = Array.from(a);
236
236
  a.clear(), n.forEach((o) => {
@@ -240,17 +240,17 @@ function _s(r, t, s) {
240
240
  }
241
241
  function wi(r, t) {
242
242
  const s = r.type === 3 ? r.setMap : r.copy;
243
- r.finalities.revoke.length > 1 && r.assignedMap.get(t) && s && _s(me(s, t), r.finalities.handledSet, r.options);
243
+ r.finalities.revoke.length > 1 && r.assignedMap.get(t) && s && Rs(me(s, t), r.finalities.handledSet, r.options);
244
244
  }
245
245
  function It(r) {
246
246
  r.type === 3 && r.copy && (r.copy.clear(), r.setMap.forEach((t) => {
247
- r.copy.add(Rt(t));
247
+ r.copy.add(_t(t));
248
248
  }));
249
249
  }
250
250
  function Et(r, t, s, e) {
251
251
  if (r.operated && r.assignedMap && r.assignedMap.size > 0 && !r.finalized) {
252
252
  if (s && e) {
253
- const a = Rs(r);
253
+ const a = _s(r);
254
254
  a && t(r, a, s, e);
255
255
  }
256
256
  r.finalized = !0;
@@ -263,7 +263,7 @@ function jt(r, t, s, e) {
263
263
  const c = r.type === 3 ? r.setMap : r.copy;
264
264
  if (Ae(me(c, t), s)) {
265
265
  let h = i.original;
266
- i.copy && (h = i.copy), It(r), Et(r, e, a, n), r.options.enableAutoFreeze && (r.options.updatedValues = (o = r.options.updatedValues) !== null && o !== void 0 ? o : /* @__PURE__ */ new WeakMap(), r.options.updatedValues.set(h, i.original)), _t(c, t, h);
266
+ i.copy && (h = i.copy), It(r), Et(r, e, a, n), r.options.enableAutoFreeze && (r.options.updatedValues = (o = r.options.updatedValues) !== null && o !== void 0 ? o : /* @__PURE__ */ new WeakMap(), r.options.updatedValues.set(h, i.original)), Rt(c, t, h);
267
267
  }
268
268
  }), r.options.enableAutoFreeze && i.finalities !== r.finalities && (r.options.enableAutoFreeze = !1)), Se(s, r.options) && r.finalities.draft.push(() => {
269
269
  const a = r.type === 3 ? r.setMap : r.copy;
@@ -318,7 +318,7 @@ function Ti(r, t, s, e, i) {
318
318
  }
319
319
  function Ai({ original: r, copy: t, assignedMap: s }, e, i, a, n) {
320
320
  s.forEach((o, c) => {
321
- const h = me(r, c), l = Ye(me(t, c)), p = o ? Re(r, c) ? j.Replace : j.Add : j.Remove;
321
+ const h = me(r, c), l = Ye(me(t, c)), p = o ? _e(r, c) ? j.Replace : j.Add : j.Remove;
322
322
  if (Ae(h, l) && p === j.Replace)
323
323
  return;
324
324
  const d = e.concat(c), f = Te(d, n);
@@ -593,7 +593,7 @@ const Ei = Reflect.ownKeys(at), js = /* @__PURE__ */ new WeakSet(), Us = {
593
593
  if (h)
594
594
  return h.bind(r.proxy);
595
595
  }
596
- if (!Re(o, t)) {
596
+ if (!_e(o, t)) {
597
597
  const h = rs(o, t);
598
598
  return h ? "value" in h ? h.value : (
599
599
  // !case: support for getter
@@ -629,7 +629,7 @@ const Ei = Reflect.ownKeys(at), js = /* @__PURE__ */ new WeakSet(), Us = {
629
629
  if (a != null && a.set)
630
630
  return a.set.call(r.proxy, s), !0;
631
631
  const n = yt(X(r), t), o = v(n);
632
- return o && Ae(o.original, s) ? (r.copy[t] = s, r.assignedMap = (e = r.assignedMap) !== null && e !== void 0 ? e : /* @__PURE__ */ new Map(), r.assignedMap.set(t, !1), !0) : (Ae(s, n) && (s !== void 0 || Re(r.original, t)) || (V(r), se(r), Re(r.original, t) && Ae(s, r.original[t]) ? r.assignedMap.delete(t) : r.assignedMap.set(t, !0), r.copy[t] = s, jt(r, t, s, Ue)), !0);
632
+ return o && Ae(o.original, s) ? (r.copy[t] = s, r.assignedMap = (e = r.assignedMap) !== null && e !== void 0 ? e : /* @__PURE__ */ new Map(), r.assignedMap.set(t, !1), !0) : (Ae(s, n) && (s !== void 0 || _e(r.original, t)) || (V(r), se(r), _e(r.original, t) && Ae(s, r.original[t]) ? r.assignedMap.delete(t) : r.assignedMap.set(t, !0), r.copy[t] = s, jt(r, t, s, Ue)), !0);
633
633
  },
634
634
  has(r, t) {
635
635
  return t in X(r);
@@ -684,7 +684,7 @@ function $s(r) {
684
684
  const E = me(F, e), k = v(E);
685
685
  if (k) {
686
686
  let B = k.original;
687
- k.operated && (B = Rt(E)), It(k), Et(k, Ue, p, d), l.options.enableAutoFreeze && (l.options.updatedValues = (f = l.options.updatedValues) !== null && f !== void 0 ? f : /* @__PURE__ */ new WeakMap(), l.options.updatedValues.set(B, k.original)), _t(F, e, B);
687
+ k.operated && (B = _t(E)), It(k), Et(k, Ue, p, d), l.options.enableAutoFreeze && (l.options.updatedValues = (f = l.options.updatedValues) !== null && f !== void 0 ? f : /* @__PURE__ */ new WeakMap(), l.options.updatedValues.set(B, k.original)), Rt(F, e, B);
688
688
  }
689
689
  (x = A.callbacks) === null || x === void 0 || x.forEach((B) => {
690
690
  B(p, d);
@@ -780,11 +780,11 @@ function Nt(r, t, s) {
780
780
  function Bi(r) {
781
781
  return r.startsWith("lookup__");
782
782
  }
783
- function Ri(r) {
783
+ function _i(r) {
784
784
  const [t, s, ...e] = r.split("__");
785
785
  return [s, JSON.parse(e.join("__"))];
786
786
  }
787
- function _i(r) {
787
+ function Ri(r) {
788
788
  return new Proxy({
789
789
  __etype: r
790
790
  }, {
@@ -792,14 +792,14 @@ function _i(r) {
792
792
  if (s === "__etype")
793
793
  return r;
794
794
  const e = s;
795
- return Bi(e) ? Nt(r, Ri(e), []) : Nt(r, e, []);
795
+ return Bi(e) ? Nt(r, _i(e), []) : Nt(r, e, []);
796
796
  }
797
797
  });
798
798
  }
799
799
  function ji() {
800
800
  return new Proxy({}, {
801
801
  get(r, t) {
802
- return _i(t);
802
+ return Ri(t);
803
803
  }
804
804
  });
805
805
  }
@@ -829,7 +829,7 @@ class $e extends Ut {
829
829
  }
830
830
  }
831
831
  typeof window < "u" && typeof window.localStorage < "u" && (window.localStorage.getItem("devBackend"), window.localStorage.getItem("__instantLogging"), window.localStorage.getItem("__devtoolLocalDash"));
832
- const _e = "v0.22.96-experimental.add-posthog-frontend.20386914944.1";
832
+ const Re = "v0.22.96";
833
833
  class Q {
834
834
  constructor(t, s, e, i = { indexed: !1, unique: !1 }) {
835
835
  this.valueType = t, this.required = s, this.isIndexed = e, this.config = i, this.metadata = {};
@@ -1037,8 +1037,8 @@ async function rr({
1037
1037
  method: "POST",
1038
1038
  headers: {
1039
1039
  "Content-type": "application/json",
1040
- "Instant-Platform-Version": _e,
1041
- "Instant-Core-Version": _e
1040
+ "Instant-Platform-Version": Re,
1041
+ "Instant-Core-Version": Re
1042
1042
  },
1043
1043
  body: JSON.stringify({
1044
1044
  grant_type: "authorization_code",
@@ -1588,10 +1588,10 @@ async function wr({
1588
1588
  async function H(r, t) {
1589
1589
  const s = {
1590
1590
  ...(t == null ? void 0 : t.headers) || {},
1591
- "Instant-Platform-Version": _e,
1592
- "Instant-Core-Version": _e,
1591
+ "Instant-Platform-Version": Re,
1592
+ "Instant-Core-Version": Re,
1593
1593
  "X-Instant-Source": "platform-sdk",
1594
- "X-Instant-Version": _e
1594
+ "X-Instant-Version": Re
1595
1595
  }, e = await fetch(r, { ...t, headers: s });
1596
1596
  if (e.status === 200) {
1597
1597
  const a = await e.json();
@@ -1930,7 +1930,7 @@ function vt(r) {
1930
1930
  function Br(r) {
1931
1931
  return r.map((t) => vt(t));
1932
1932
  }
1933
- function Rr(r, t) {
1933
+ function _r(r, t) {
1934
1934
  const [s, e] = r;
1935
1935
  if (s === "add-attr" || s === "update-attr") {
1936
1936
  const c = vt(r);
@@ -1944,9 +1944,9 @@ function Rr(r, t) {
1944
1944
  return { ...n, backgroundJob: o };
1945
1945
  }
1946
1946
  function Pt(r, t) {
1947
- return r.map((s) => Rr(s, t));
1947
+ return r.map((s) => _r(s, t));
1948
1948
  }
1949
- async function _r(r, t, s, e) {
1949
+ async function Rr(r, t, s, e) {
1950
1950
  const i = await H(
1951
1951
  `${r}/superadmin/apps/${s}/schema/push/plan`,
1952
1952
  {
@@ -2133,8 +2133,8 @@ class Ie extends Error {
2133
2133
  super("PlatformApi was not provided auth.");
2134
2134
  }
2135
2135
  }
2136
- var O, _;
2137
- class Rn {
2136
+ var O, R;
2137
+ class _n {
2138
2138
  /**
2139
2139
  * @param config – Runtime configuration.
2140
2140
  * @param config.auth.token – OAuth access-token obtained via the oauth flow
@@ -2143,8 +2143,8 @@ class Rn {
2143
2143
  */
2144
2144
  constructor(t) {
2145
2145
  oe(this, O);
2146
- oe(this, _);
2147
- ce(this, O, t == null ? void 0 : t.auth), ce(this, _, (t == null ? void 0 : t.apiURI) || "https://api.instantdb.com");
2146
+ oe(this, R);
2147
+ ce(this, O, t == null ? void 0 : t.auth), ce(this, R, (t == null ? void 0 : t.apiURI) || "https://api.instantdb.com");
2148
2148
  }
2149
2149
  token() {
2150
2150
  if (!T(this, O))
@@ -2164,7 +2164,7 @@ class Rn {
2164
2164
  !("clientId" in T(this, O)))
2165
2165
  return null;
2166
2166
  const t = await wr({
2167
- apiURI: T(this, _),
2167
+ apiURI: T(this, R),
2168
2168
  clientId: T(this, O).clientId,
2169
2169
  clientSecret: T(this, O).clientSecret,
2170
2170
  refreshToken: T(this, O).refreshToken
@@ -2208,7 +2208,7 @@ class Rn {
2208
2208
  * according to `Opts`.
2209
2209
  */
2210
2210
  async getApp(t, s) {
2211
- return this.withRetry(Or, [T(this, _), this.token(), t, s]);
2211
+ return this.withRetry(Or, [T(this, R), this.token(), t, s]);
2212
2212
  }
2213
2213
  /**
2214
2214
  * List **all apps** owned by the auth owner.
@@ -2225,7 +2225,7 @@ class Rn {
2225
2225
  * @returns An array wrapper; each element’s shape follows `Opts`.
2226
2226
  */
2227
2227
  async getApps(t) {
2228
- return this.withRetry(Nr, [T(this, _), this.token(), t]);
2228
+ return this.withRetry(Nr, [T(this, R), this.token(), t]);
2229
2229
  }
2230
2230
  /**
2231
2231
  * List **all orgs** that the auth owner is a member of.
@@ -2237,7 +2237,7 @@ class Rn {
2237
2237
  * @returns An array of orgs
2238
2238
  */
2239
2239
  async getOrgs() {
2240
- return this.withRetry(kr, [T(this, _), this.token()]);
2240
+ return this.withRetry(kr, [T(this, R), this.token()]);
2241
2241
  }
2242
2242
  /**
2243
2243
  * List **all apps** owned by the auth owner.
@@ -2255,7 +2255,7 @@ class Rn {
2255
2255
  */
2256
2256
  async getAppsForOrg(t, s) {
2257
2257
  return this.withRetry(vr, [
2258
- T(this, _),
2258
+ T(this, R),
2259
2259
  this.token(),
2260
2260
  t,
2261
2261
  s
@@ -2271,7 +2271,7 @@ class Rn {
2271
2271
  * @param appId -- UUID of the app
2272
2272
  */
2273
2273
  async getSchema(t) {
2274
- return this.withRetry(qt, [T(this, _), this.token(), t]);
2274
+ return this.withRetry(qt, [T(this, R), this.token(), t]);
2275
2275
  }
2276
2276
  /**
2277
2277
  * Gets the permissions for an app by its id.
@@ -2283,7 +2283,7 @@ class Rn {
2283
2283
  * @param appId -- UUID of the app
2284
2284
  */
2285
2285
  async getPerms(t) {
2286
- return this.withRetry(Ks, [T(this, _), this.token(), t]);
2286
+ return this.withRetry(Ks, [T(this, R), this.token(), t]);
2287
2287
  }
2288
2288
  /**
2289
2289
  * Create a new app.
@@ -2312,7 +2312,7 @@ class Rn {
2312
2312
  * @param fields.orgId -- Optional id of the org that the app will be placed in
2313
2313
  */
2314
2314
  async createApp(t) {
2315
- return this.withRetry(Dr, [T(this, _), this.token(), t]);
2315
+ return this.withRetry(Dr, [T(this, R), this.token(), t]);
2316
2316
  }
2317
2317
  /**
2318
2318
  * Create a new temporary app.
@@ -2337,7 +2337,7 @@ class Rn {
2337
2337
  * @param fields.perms -- Optional permissions for the app
2338
2338
  */
2339
2339
  async createTemporaryApp(t) {
2340
- return Lr(T(this, _), t);
2340
+ return Lr(T(this, R), t);
2341
2341
  }
2342
2342
  /**
2343
2343
  * Update the title of an app by its id.
@@ -2353,7 +2353,7 @@ class Rn {
2353
2353
  */
2354
2354
  async updateApp(t, s) {
2355
2355
  return this.withRetry(Mr, [
2356
- T(this, _),
2356
+ T(this, R),
2357
2357
  this.token(),
2358
2358
  t,
2359
2359
  s
@@ -2369,7 +2369,7 @@ class Rn {
2369
2369
  * @param appId -- UUID of the app
2370
2370
  */
2371
2371
  async deleteApp(t) {
2372
- return this.withRetry(Fr, [T(this, _), this.token(), t]);
2372
+ return this.withRetry(Fr, [T(this, R), this.token(), t]);
2373
2373
  }
2374
2374
  /**
2375
2375
  * Dry-run a **schema push** and receive a _plan_ of steps the server would
@@ -2380,8 +2380,8 @@ class Rn {
2380
2380
  * ```
2381
2381
  */
2382
2382
  async planSchemaPush(t, s) {
2383
- return this.withRetry(_r, [
2384
- T(this, _),
2383
+ return this.withRetry(Rr, [
2384
+ T(this, R),
2385
2385
  this.token(),
2386
2386
  t,
2387
2387
  s
@@ -2422,7 +2422,7 @@ class Rn {
2422
2422
  await this.refreshToken();
2423
2423
  } catch {
2424
2424
  }
2425
- $r(T(this, _), this.token(), t, s).subscribe({
2425
+ $r(T(this, R), this.token(), t, s).subscribe({
2426
2426
  complete(n) {
2427
2427
  i(n);
2428
2428
  },
@@ -2452,15 +2452,15 @@ class Rn {
2452
2452
  async pushPerms(t, s) {
2453
2453
  if (!T(this, O))
2454
2454
  throw new Ie();
2455
- return this.withRetry(qr, [T(this, _), this.token(), t, s]);
2455
+ return this.withRetry(qr, [T(this, R), this.token(), t, s]);
2456
2456
  }
2457
2457
  async tokenInfo() {
2458
2458
  if (!T(this, O))
2459
2459
  throw new Ie();
2460
- return this.withRetry(zr, [T(this, _), this.token()]);
2460
+ return this.withRetry(zr, [T(this, R), this.token()]);
2461
2461
  }
2462
2462
  }
2463
- O = new WeakMap(), _ = new WeakMap();
2463
+ O = new WeakMap(), R = new WeakMap();
2464
2464
  function Vr(r, t) {
2465
2465
  if (r == null) return {};
2466
2466
  var s = {};
@@ -5781,19 +5781,19 @@ var Ba = (r) => class extends r {
5781
5781
  this.state.canStartJSXElement = na(i);
5782
5782
  }
5783
5783
  };
5784
- class Ra extends Zt {
5784
+ class _a extends Zt {
5785
5785
  constructor() {
5786
5786
  super(...arguments);
5787
5787
  m(this, "tsNames", /* @__PURE__ */ new Map());
5788
5788
  }
5789
5789
  }
5790
- class _a extends es {
5790
+ class Ra extends es {
5791
5791
  constructor() {
5792
5792
  super(...arguments);
5793
5793
  m(this, "importsStack", []);
5794
5794
  }
5795
5795
  createScope(s) {
5796
- return this.importsStack.push(/* @__PURE__ */ new Set()), new Ra(s);
5796
+ return this.importsStack.push(/* @__PURE__ */ new Set()), new _a(s);
5797
5797
  }
5798
5798
  enter(s) {
5799
5799
  s === 512 && this.importsStack.push(/* @__PURE__ */ new Set()), super.enter(s);
@@ -7860,7 +7860,7 @@ var cn = (r) => class extends r {
7860
7860
  }));
7861
7861
  }
7862
7862
  getScopeHandler() {
7863
- return _a;
7863
+ return Ra;
7864
7864
  }
7865
7865
  tsIsIdentifier() {
7866
7866
  return N(this.state.type);
@@ -12277,21 +12277,21 @@ const Hn = (r, t) => {
12277
12277
  ]);
12278
12278
  for (const P of k) {
12279
12279
  const M = E.get(P) || [], K = F.get(P) || [], xe = M.map(
12280
- (R) => A(R)
12280
+ (_) => A(_)
12281
12281
  ), He = K.map(
12282
- (R) => A(R)
12282
+ (_) => A(_)
12283
12283
  ), L = He.filter(
12284
- (R) => !xe.includes(R)
12284
+ (_) => !xe.includes(_)
12285
12285
  ), Oe = xe.filter(
12286
- (R) => !He.includes(R)
12286
+ (_) => !He.includes(_)
12287
12287
  );
12288
12288
  xe.filter(
12289
- (R) => He.includes(R)
12290
- ).forEach((R) => {
12289
+ (_) => He.includes(_)
12290
+ ).forEach((_) => {
12291
12291
  const U = M.find(
12292
- (Pe) => A(Pe) === R
12292
+ (Pe) => A(Pe) === _
12293
12293
  ), J = K.find(
12294
- (Pe) => A(Pe) === R
12294
+ (Pe) => A(Pe) === _
12295
12295
  );
12296
12296
  !U || !J || i.push(
12297
12297
  ...Ds(
@@ -12314,9 +12314,9 @@ const Hn = (r, t) => {
12314
12314
  reverseEntityName: (ie = M[0]) == null ? void 0 : ie.reverse.on
12315
12315
  }
12316
12316
  );
12317
- mt.deleted.forEach((R) => {
12317
+ mt.deleted.forEach((_) => {
12318
12318
  const U = M.find(
12319
- (J) => A(J) === R
12319
+ (J) => A(J) === _
12320
12320
  );
12321
12321
  U && i.push({
12322
12322
  type: "delete-attr",
@@ -12325,16 +12325,16 @@ const Hn = (r, t) => {
12325
12325
  namespace: U.forward.on
12326
12326
  }
12327
12327
  });
12328
- }), mt.created.forEach((R) => {
12328
+ }), mt.created.forEach((_) => {
12329
12329
  const U = K.find(
12330
- (J) => A(J) === R
12330
+ (J) => A(J) === _
12331
12331
  );
12332
12332
  U && i.push(Cn(U));
12333
- }), mt.renamed.forEach((R) => {
12333
+ }), mt.renamed.forEach((_) => {
12334
12334
  const U = M.find(
12335
- (Pe) => A(Pe) === R.from
12335
+ (Pe) => A(Pe) === _.from
12336
12336
  ), J = K.find(
12337
- (Pe) => A(Pe) === R.to
12337
+ (Pe) => A(Pe) === _.to
12338
12338
  );
12339
12339
  !U || !J || (i.push({
12340
12340
  type: "update-attr",
@@ -12418,7 +12418,7 @@ const Hn = (r, t) => {
12418
12418
  export {
12419
12419
  pe as InstantOAuthError,
12420
12420
  Dn as OAuthHandler,
12421
- Rn as PlatformApi,
12421
+ _n as PlatformApi,
12422
12422
  Hs as ProgressPromise,
12423
12423
  be as SchemaValidationError,
12424
12424
  nt as apiSchemaToInstantSchemaDef,
@@ -12433,5 +12433,5 @@ export {
12433
12433
  Vn as schemaTypescriptFileToInstantSchema,
12434
12434
  Br as translatePlanSteps,
12435
12435
  Fn as validateSchema,
12436
- _e as version
12436
+ Re as version
12437
12437
  };