@ztimson/momentum 1.3.0 → 1.3.1
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/dist/index.js +8 -8
- package/dist/index.mjs +8 -8
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
function requireDist() {
|
|
166
166
|
if (hasRequiredDist) return dist;
|
|
167
167
|
hasRequiredDist = 1;
|
|
168
|
-
(function(
|
|
168
|
+
(function(exports3) {
|
|
169
169
|
var __createBinding = dist && dist.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
170
170
|
if (k2 === void 0) k2 = k;
|
|
171
171
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -179,12 +179,12 @@
|
|
|
179
179
|
if (k2 === void 0) k2 = k;
|
|
180
180
|
o[k2] = m[k];
|
|
181
181
|
}));
|
|
182
|
-
var __exportStar = dist && dist.__exportStar || function(m,
|
|
183
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(
|
|
182
|
+
var __exportStar = dist && dist.__exportStar || function(m, exports22) {
|
|
183
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports22, p)) __createBinding(exports22, m, p);
|
|
184
184
|
};
|
|
185
|
-
Object.defineProperty(
|
|
186
|
-
__exportStar(requirePersist(),
|
|
187
|
-
__exportStar(requireMemoryStorage(),
|
|
185
|
+
Object.defineProperty(exports3, "__esModule", { value: true });
|
|
186
|
+
__exportStar(requirePersist(), exports3);
|
|
187
|
+
__exportStar(requireMemoryStorage(), exports3);
|
|
188
188
|
})(dist);
|
|
189
189
|
return dist;
|
|
190
190
|
}
|
|
@@ -1331,7 +1331,7 @@
|
|
|
1331
1331
|
let temp = p.split("/").filter((p2) => !!p2);
|
|
1332
1332
|
this.module = temp.splice(0, 1)[0] || "";
|
|
1333
1333
|
this.path = temp.join("/");
|
|
1334
|
-
this.dir = temp.length >
|
|
1334
|
+
this.dir = temp.length > 1 ? temp.slice(0, -1).join("/") : "";
|
|
1335
1335
|
this.fullPath = `${this.module}${this.module && this.path ? "/" : ""}${this.path}`;
|
|
1336
1336
|
this.name = temp.pop() || "";
|
|
1337
1337
|
this.hasGlob = this.fullPath.includes("*");
|
|
@@ -4250,7 +4250,7 @@ ${log}`;
|
|
|
4250
4250
|
}
|
|
4251
4251
|
momentum;
|
|
4252
4252
|
}
|
|
4253
|
-
const version = "1.3.
|
|
4253
|
+
const version = "1.3.1";
|
|
4254
4254
|
class WebRtc extends PathEventEmitter {
|
|
4255
4255
|
constructor(momentum) {
|
|
4256
4256
|
super("webrtc");
|
package/dist/index.mjs
CHANGED
|
@@ -161,7 +161,7 @@ var hasRequiredDist;
|
|
|
161
161
|
function requireDist() {
|
|
162
162
|
if (hasRequiredDist) return dist;
|
|
163
163
|
hasRequiredDist = 1;
|
|
164
|
-
(function(exports
|
|
164
|
+
(function(exports) {
|
|
165
165
|
var __createBinding = dist && dist.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
166
166
|
if (k2 === void 0) k2 = k;
|
|
167
167
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -175,12 +175,12 @@ function requireDist() {
|
|
|
175
175
|
if (k2 === void 0) k2 = k;
|
|
176
176
|
o[k2] = m[k];
|
|
177
177
|
}));
|
|
178
|
-
var __exportStar = dist && dist.__exportStar || function(m,
|
|
179
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(
|
|
178
|
+
var __exportStar = dist && dist.__exportStar || function(m, exports2) {
|
|
179
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
180
180
|
};
|
|
181
|
-
Object.defineProperty(exports
|
|
182
|
-
__exportStar(requirePersist(), exports
|
|
183
|
-
__exportStar(requireMemoryStorage(), exports
|
|
181
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
182
|
+
__exportStar(requirePersist(), exports);
|
|
183
|
+
__exportStar(requireMemoryStorage(), exports);
|
|
184
184
|
})(dist);
|
|
185
185
|
return dist;
|
|
186
186
|
}
|
|
@@ -1327,7 +1327,7 @@ class PathEvent {
|
|
|
1327
1327
|
let temp = p.split("/").filter((p2) => !!p2);
|
|
1328
1328
|
this.module = temp.splice(0, 1)[0] || "";
|
|
1329
1329
|
this.path = temp.join("/");
|
|
1330
|
-
this.dir = temp.length >
|
|
1330
|
+
this.dir = temp.length > 1 ? temp.slice(0, -1).join("/") : "";
|
|
1331
1331
|
this.fullPath = `${this.module}${this.module && this.path ? "/" : ""}${this.path}`;
|
|
1332
1332
|
this.name = temp.pop() || "";
|
|
1333
1333
|
this.hasGlob = this.fullPath.includes("*");
|
|
@@ -4246,7 +4246,7 @@ class Static extends Storage {
|
|
|
4246
4246
|
}
|
|
4247
4247
|
momentum;
|
|
4248
4248
|
}
|
|
4249
|
-
const version = "1.3.
|
|
4249
|
+
const version = "1.3.1";
|
|
4250
4250
|
class WebRtc extends PathEventEmitter {
|
|
4251
4251
|
constructor(momentum) {
|
|
4252
4252
|
super("webrtc");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ztimson/momentum",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Client library for momentum",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Momentum"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"postbuild": "npm run build:docs && node -e \"const fs=require('fs');fs.cpSync('dist/index.mjs','../server/public/momentum.mjs');fs.cpSync('dist/index.js','../server/public/momentum.js');fs.cpSync('dist/momentum.worker.mjs','../server/public/momentum.worker.mjs')\""
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@ztimson/utils": "^0.29.
|
|
36
|
+
"@ztimson/utils": "^0.29.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@types/node": "^22.5.4",
|