@aloma.io/integration-sdk 3.0.7 → 3.0.8
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/build/internal/index.mjs +2 -2
- package/build/internal/websocket/transport/index.mjs +2 -2
- package/build/internal/websocket/transport/packet.mjs +2 -2
- package/package.json +1 -1
- package/src/internal/index.mjs +2 -3
- package/src/internal/websocket/transport/index.mjs +2 -2
- package/src/internal/websocket/transport/packet.mjs +2 -2
package/build/internal/index.mjs
CHANGED
@@ -9,10 +9,10 @@ import { Dispatcher } from "./dispatcher/index.mjs";
|
|
9
9
|
import { WebsocketConnector } from "./websocket/index.mjs";
|
10
10
|
import JWE from "./util/jwe/index.mjs";
|
11
11
|
import fetch from "node-fetch";
|
12
|
-
import
|
12
|
+
import { init } from "@paralleldrive/cuid2";
|
13
|
+
const cuid = init({ length: 32 });
|
13
14
|
import express from 'express';
|
14
15
|
import PromClient from 'prom-client';
|
15
|
-
cuid.init({ length: 32 });
|
16
16
|
// TODO fetch with retry
|
17
17
|
const handlePacketError = (packet, e, transport) => {
|
18
18
|
if (!packet.cb()) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import C from "../connection/constants.mjs";
|
2
|
-
import
|
3
|
-
cuid
|
2
|
+
import { init } from "@paralleldrive/cuid2";
|
3
|
+
const cuid = init({ length: 32 });
|
4
4
|
import { DurableWebsocket } from "./durable.mjs";
|
5
5
|
import WebSocket from "ws";
|
6
6
|
import { Packet, Callback } from "./packet.mjs";
|
package/package.json
CHANGED
package/src/internal/index.mjs
CHANGED
@@ -9,12 +9,11 @@ import { Dispatcher } from "./dispatcher/index.mjs";
|
|
9
9
|
import { WebsocketConnector } from "./websocket/index.mjs";
|
10
10
|
import JWE from "./util/jwe/index.mjs";
|
11
11
|
import fetch from "node-fetch";
|
12
|
-
import
|
12
|
+
import { init } from "@paralleldrive/cuid2";
|
13
|
+
const cuid = init({ length: 32 });
|
13
14
|
import express from 'express';
|
14
15
|
import PromClient from 'prom-client'
|
15
16
|
|
16
|
-
cuid.init({ length: 32 });
|
17
|
-
|
18
17
|
// TODO fetch with retry
|
19
18
|
|
20
19
|
const handlePacketError = (packet, e, transport) => {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import C from "../connection/constants.mjs";
|
2
|
-
import
|
3
|
-
cuid
|
2
|
+
import { init } from "@paralleldrive/cuid2";
|
3
|
+
const cuid = init({ length: 32 });
|
4
4
|
|
5
5
|
import { DurableWebsocket } from "./durable.mjs";
|
6
6
|
import WebSocket from "ws";
|