@jomkv/keybud-v2-contracts 1.0.4 → 1.0.6

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 CHANGED
@@ -1,3 +1,19 @@
1
- export * from "./ws/auth/index";
2
- export * from "./ws/messages/index";
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ws/auth/index"), exports);
18
+ __exportStar(require("./ws/messages/index"), exports);
3
19
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,sDAAoC"}
@@ -1,4 +1,7 @@
1
- export const AUTH_EVENT_NAMES = {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AUTH_EVENT_NAMES = void 0;
4
+ exports.AUTH_EVENT_NAMES = {
2
5
  SUBSCRIBE: "auth:subscribe",
3
6
  SUBSCRIBE_SUCCESS: "auth:subscribe_success",
4
7
  COMPLETE: "auth:complete", // client completes login
@@ -1 +1 @@
1
- {"version":3,"file":"event-names.js","sourceRoot":"","sources":["../../../src/ws/auth/event-names.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,SAAS,EAAE,gBAAgB;IAC3B,iBAAiB,EAAE,wBAAwB;IAC3C,QAAQ,EAAE,eAAe,EAAE,yBAAyB;CAC5C,CAAC"}
1
+ {"version":3,"file":"event-names.js","sourceRoot":"","sources":["../../../src/ws/auth/event-names.ts"],"names":[],"mappings":";;;AAAa,QAAA,gBAAgB,GAAG;IAC9B,SAAS,EAAE,gBAAgB;IAC3B,iBAAiB,EAAE,wBAAwB;IAC3C,QAAQ,EAAE,eAAe,EAAE,yBAAyB;CAC5C,CAAC"}
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=events.js.map
@@ -1,4 +1,20 @@
1
- export * from "./event-names";
2
- export * from "./events";
3
- export * from "./payloads";
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./event-names"), exports);
18
+ __exportStar(require("./events"), exports);
19
+ __exportStar(require("./payloads"), exports);
4
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ws/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ws/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,2CAAyB;AACzB,6CAA2B"}
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=payloads.js.map
@@ -1,4 +1,7 @@
1
- export const MESSAGE_EVENT_NAMES = {
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MESSAGE_EVENT_NAMES = void 0;
4
+ exports.MESSAGE_EVENT_NAMES = {
2
5
  SUBSCRIBE: "message:subscribe",
3
6
  NEW_MESSAGE: "message:new",
4
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"event-names.js","sourceRoot":"","sources":["../../../src/ws/messages/event-names.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,SAAS,EAAE,mBAAmB;IAC9B,WAAW,EAAE,aAAa;CAClB,CAAC"}
1
+ {"version":3,"file":"event-names.js","sourceRoot":"","sources":["../../../src/ws/messages/event-names.ts"],"names":[],"mappings":";;;AAAa,QAAA,mBAAmB,GAAG;IACjC,SAAS,EAAE,mBAAmB;IAC9B,WAAW,EAAE,aAAa;CAClB,CAAC"}
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=events.js.map
@@ -1,4 +1,20 @@
1
- export * from "./event-names";
2
- export * from "./events";
3
- export * from "./payloads";
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./event-names"), exports);
18
+ __exportStar(require("./events"), exports);
19
+ __exportStar(require("./payloads"), exports);
4
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ws/messages/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ws/messages/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,2CAAyB;AACzB,6CAA2B"}
@@ -1,2 +1,3 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
2
3
  //# sourceMappingURL=payloads.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jomkv/keybud-v2-contracts",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Shared TypeScript contracts for KeyBud V2",
5
5
  "keywords": [
6
6
  "keybud",
@@ -18,14 +18,13 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "author": "Jom Karlo Verzosa",
21
- "type": "module",
22
21
  "main": "./dist/index.js",
23
22
  "types": "./dist/index.d.ts",
24
23
  "exports": {
25
24
  ".": {
26
25
  "types": "./dist/index.d.ts",
27
26
  "import": "./dist/index.js",
28
- "default": "./dist/index.js"
27
+ "require": "./dist/index.js"
29
28
  }
30
29
  },
31
30
  "files": [