@ultrst-armada/kloks 3.0.1 → 3.0.2

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,8 +1,8 @@
1
1
  {
2
2
  "schema": 1,
3
3
  "packageName": "@ultrst-armada/kloks",
4
- "version": "3.0.1",
5
- "sourceCommit": "be1e39a508ab28f52fea669af747e4b0d811416c",
4
+ "version": "3.0.2",
5
+ "sourceCommit": "a80f5b00ce58135bb4c4bed78ba0a43068debe2b",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "44887403503"
7
+ "workflowRunId": "44899185768"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/kloks",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createCanonicalApplicationOAuthBff,
3
3
  createOAuthBff
4
- } from "../chunk-2SNWR4FI.js";
4
+ } from "../chunk-6HGO6CUT.js";
5
5
  export {
6
6
  createCanonicalApplicationOAuthBff,
7
7
  createOAuthBff
@@ -339,9 +339,11 @@ function connections(env) {
339
339
  async function selfRegister(appId, redirectUri) {
340
340
  const issuer = DEFAULT_LUTH_URL.replace(/\/$/, "");
341
341
  const response = await fetch(issuer + "/api/auth/oauth2/register", {
342
+ // Cloudflare Workers (and some other runtimes) reject redirect: 'error'.
343
+ // Manual redirects remain fail-closed: non-2xx responses are rejected below.
342
344
  method: "POST",
343
345
  credentials: "omit",
344
- redirect: "error",
346
+ redirect: "manual",
345
347
  cache: "no-store",
346
348
  headers: { "content-type": "application/json", accept: "application/json" },
347
349
  body: JSON.stringify({
@@ -97,7 +97,7 @@ import {
97
97
  import {
98
98
  createCanonicalApplicationOAuthBff,
99
99
  createOAuthBff
100
- } from "./chunk-2SNWR4FI.js";
100
+ } from "./chunk-6HGO6CUT.js";
101
101
  import {
102
102
  BackendProvider,
103
103
  useBackend,
@@ -252,7 +252,7 @@ import {
252
252
  validateProjectGraph,
253
253
  validateUniversalConnection,
254
254
  zoomAtPoint
255
- } from "./chunk-UKTICGGV.js";
255
+ } from "./chunk-YUJC367F.js";
256
256
  import {
257
257
  BaseHandle,
258
258
  DataHandle,
@@ -262,6 +262,21 @@ import {
262
262
  instantiateSubgraph
263
263
  } from "./chunk-OXUDG6HE.js";
264
264
  import "./chunk-RHRXPY2U.js";
265
+ import {
266
+ AttractionEngine,
267
+ GhostInferenceEngine,
268
+ GhostLayoutResolver,
269
+ GhostTracePathBuilder,
270
+ calculateSocketCoordinates,
271
+ getBeamPoints,
272
+ useMagneticTraces
273
+ } from "./chunk-JXDJZSFW.js";
274
+ import {
275
+ ConnectionRuleStore,
276
+ HandleTypeRegistry,
277
+ WireTypeRegistry,
278
+ initializeDefaultGraphRules
279
+ } from "./chunk-TZOL3RN7.js";
265
280
  import {
266
281
  LifecycleCycleError,
267
282
  LifecycleGraph,
@@ -285,21 +300,6 @@ import {
285
300
  CustomViewWindow,
286
301
  DEFAULT_GRAPH_SETTINGS
287
302
  } from "./chunk-5KP74NMF.js";
288
- import {
289
- AttractionEngine,
290
- GhostInferenceEngine,
291
- GhostLayoutResolver,
292
- GhostTracePathBuilder,
293
- calculateSocketCoordinates,
294
- getBeamPoints,
295
- useMagneticTraces
296
- } from "./chunk-JXDJZSFW.js";
297
- import {
298
- ConnectionRuleStore,
299
- HandleTypeRegistry,
300
- WireTypeRegistry,
301
- initializeDefaultGraphRules
302
- } from "./chunk-TZOL3RN7.js";
303
303
  import {
304
304
  AutoSolidify,
305
305
  SpatialEngine,
@@ -252,7 +252,7 @@ import {
252
252
  validateProjectGraph,
253
253
  validateUniversalConnection,
254
254
  zoomAtPoint
255
- } from "./chunk-UKTICGGV.js";
255
+ } from "./chunk-YUJC367F.js";
256
256
  import {
257
257
  BaseHandle,
258
258
  DataHandle,
@@ -262,6 +262,21 @@ import {
262
262
  instantiateSubgraph
263
263
  } from "./chunk-OXUDG6HE.js";
264
264
  import "./chunk-RHRXPY2U.js";
265
+ import {
266
+ AttractionEngine,
267
+ GhostInferenceEngine,
268
+ GhostLayoutResolver,
269
+ GhostTracePathBuilder,
270
+ calculateSocketCoordinates,
271
+ getBeamPoints,
272
+ useMagneticTraces
273
+ } from "./chunk-JXDJZSFW.js";
274
+ import {
275
+ ConnectionRuleStore,
276
+ HandleTypeRegistry,
277
+ WireTypeRegistry,
278
+ initializeDefaultGraphRules
279
+ } from "./chunk-TZOL3RN7.js";
265
280
  import {
266
281
  LifecycleCycleError,
267
282
  LifecycleGraph,
@@ -285,21 +300,6 @@ import {
285
300
  CustomViewWindow,
286
301
  DEFAULT_GRAPH_SETTINGS
287
302
  } from "./chunk-5KP74NMF.js";
288
- import {
289
- AttractionEngine,
290
- GhostInferenceEngine,
291
- GhostLayoutResolver,
292
- GhostTracePathBuilder,
293
- calculateSocketCoordinates,
294
- getBeamPoints,
295
- useMagneticTraces
296
- } from "./chunk-JXDJZSFW.js";
297
- import {
298
- ConnectionRuleStore,
299
- HandleTypeRegistry,
300
- WireTypeRegistry,
301
- initializeDefaultGraphRules
302
- } from "./chunk-TZOL3RN7.js";
303
303
  import {
304
304
  AutoSolidify,
305
305
  SpatialEngine,
@@ -1,9 +1,6 @@
1
1
  import {
2
2
  DataHandle
3
3
  } from "./chunk-OXUDG6HE.js";
4
- import {
5
- BaseNode
6
- } from "./chunk-5KP74NMF.js";
7
4
  import {
8
5
  AttractionEngine
9
6
  } from "./chunk-JXDJZSFW.js";
@@ -11,6 +8,9 @@ import {
11
8
  HandleTypeRegistry,
12
9
  WireTypeRegistry
13
10
  } from "./chunk-TZOL3RN7.js";
11
+ import {
12
+ BaseNode
13
+ } from "./chunk-5KP74NMF.js";
14
14
  import {
15
15
  AutoSolidify,
16
16
  TraceEngine