@liveblocks/client 1.2.0-internal5 → 1.2.0-test1

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,12 +1,21 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/index.ts
2
+ var _core = require('@liveblocks/core');
2
3
 
4
+ // src/version.ts
5
+ var PKG_NAME = "@liveblocks/client";
6
+ var PKG_VERSION = "1.2.0-test1";
7
+ var PKG_FORMAT = "cjs";
3
8
 
9
+ // src/index.ts
4
10
 
5
11
 
6
12
 
7
13
 
8
14
 
9
- var _core = require('@liveblocks/core');
15
+
16
+
17
+
18
+ _core.detectDupes.call(void 0, PKG_NAME, PKG_VERSION, PKG_FORMAT);
10
19
 
11
20
 
12
21
 
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";AAwBA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK","sourcesContent":["export type {\n BaseUserMeta,\n BroadcastOptions,\n Client,\n History,\n Immutable,\n Json,\n JsonArray,\n JsonObject,\n JsonScalar,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n Others,\n Room,\n Status,\n StorageStatus,\n StorageUpdate,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n LiveList,\n LiveMap,\n LiveObject,\n shallow,\n toPlainLson,\n} from \"@liveblocks/core\";\n\n/**\n * Helper type to help users adopt to Lson types from interface definitions.\n * You should only use this to wrap interfaces you don't control. For more\n * information, see\n * https://liveblocks.io/docs/guides/limits#lson-constraint-and-interfaces\n */\n// prettier-ignore\nexport type EnsureJson<T> =\n // Retain `unknown` fields\n [unknown] extends [T] ? T :\n // Retain functions\n T extends (...args: unknown[]) => unknown ? T :\n // Resolve all other values explicitly\n { [K in keyof T]: EnsureJson<T[K]> };\n"]}
1
+ {"version":3,"sources":["../src/index.ts","../src/version.ts"],"names":[],"mappings":";AAAA,SAAS,mBAAmB;;;ACGrB,IAAM,WAAW;AACjB,IAAM,cAAiD;AACvD,IAAM,aAAgD;;;ADyB7D;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAjCP,YAAY,UAAU,aAAa,UAAU","sourcesContent":["import { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\n\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport type {\n BaseUserMeta,\n BroadcastOptions,\n Client,\n History,\n Immutable,\n Json,\n JsonArray,\n JsonObject,\n JsonScalar,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n Others,\n Room,\n Status,\n StorageStatus,\n StorageUpdate,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n LiveList,\n LiveMap,\n LiveObject,\n shallow,\n toPlainLson,\n} from \"@liveblocks/core\";\n\n/**\n * Helper type to help users adopt to Lson types from interface definitions.\n * You should only use this to wrap interfaces you don't control. For more\n * information, see\n * https://liveblocks.io/docs/guides/limits#lson-constraint-and-interfaces\n */\n// prettier-ignore\nexport type EnsureJson<T> =\n // Retain `unknown` fields\n [unknown] extends [T] ? T :\n // Retain functions\n T extends (...args: unknown[]) => unknown ? T :\n // Resolve all other values explicitly\n { [K in keyof T]: EnsureJson<T[K]> };\n","declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/client\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n"]}
package/dist/index.mjs CHANGED
@@ -1,3 +1,11 @@
1
+ // src/index.ts
2
+ import { detectDupes } from "@liveblocks/core";
3
+
4
+ // src/version.ts
5
+ var PKG_NAME = "@liveblocks/client";
6
+ var PKG_VERSION = "1.2.0-test1";
7
+ var PKG_FORMAT = "esm";
8
+
1
9
  // src/index.ts
2
10
  import {
3
11
  createClient,
@@ -7,6 +15,7 @@ import {
7
15
  shallow,
8
16
  toPlainLson
9
17
  } from "@liveblocks/core";
18
+ detectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);
10
19
  export {
11
20
  LiveList,
12
21
  LiveMap,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export type {\n BaseUserMeta,\n BroadcastOptions,\n Client,\n History,\n Immutable,\n Json,\n JsonArray,\n JsonObject,\n JsonScalar,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n Others,\n Room,\n Status,\n StorageStatus,\n StorageUpdate,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n LiveList,\n LiveMap,\n LiveObject,\n shallow,\n toPlainLson,\n} from \"@liveblocks/core\";\n\n/**\n * Helper type to help users adopt to Lson types from interface definitions.\n * You should only use this to wrap interfaces you don't control. For more\n * information, see\n * https://liveblocks.io/docs/guides/limits#lson-constraint-and-interfaces\n */\n// prettier-ignore\nexport type EnsureJson<T> =\n // Retain `unknown` fields\n [unknown] extends [T] ? T :\n // Retain functions\n T extends (...args: unknown[]) => unknown ? T :\n // Resolve all other values explicitly\n { [K in keyof T]: EnsureJson<T[K]> };\n"],"mappings":";AAwBA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts","../src/version.ts"],"sourcesContent":["import { detectDupes } from \"@liveblocks/core\";\n\nimport { PKG_FORMAT, PKG_NAME, PKG_VERSION } from \"./version\";\n\ndetectDupes(PKG_NAME, PKG_VERSION, PKG_FORMAT);\n\nexport type {\n BaseUserMeta,\n BroadcastOptions,\n Client,\n History,\n Immutable,\n Json,\n JsonArray,\n JsonObject,\n JsonScalar,\n LiveListUpdate,\n LiveMapUpdate,\n LiveObjectUpdate,\n LiveStructure,\n LostConnectionEvent,\n Lson,\n LsonObject,\n Others,\n Room,\n Status,\n StorageStatus,\n StorageUpdate,\n User,\n} from \"@liveblocks/core\";\nexport {\n createClient,\n LiveList,\n LiveMap,\n LiveObject,\n shallow,\n toPlainLson,\n} from \"@liveblocks/core\";\n\n/**\n * Helper type to help users adopt to Lson types from interface definitions.\n * You should only use this to wrap interfaces you don't control. For more\n * information, see\n * https://liveblocks.io/docs/guides/limits#lson-constraint-and-interfaces\n */\n// prettier-ignore\nexport type EnsureJson<T> =\n // Retain `unknown` fields\n [unknown] extends [T] ? T :\n // Retain functions\n T extends (...args: unknown[]) => unknown ? T :\n // Resolve all other values explicitly\n { [K in keyof T]: EnsureJson<T[K]> };\n","declare const __VERSION__: string;\ndeclare const TSUP_FORMAT: string;\n\nexport const PKG_NAME = \"@liveblocks/client\";\nexport const PKG_VERSION = typeof __VERSION__ === \"string\" && __VERSION__;\nexport const PKG_FORMAT = typeof TSUP_FORMAT === \"string\" && TSUP_FORMAT;\n"],"mappings":";AAAA,SAAS,mBAAmB;;;ACGrB,IAAM,WAAW;AACjB,IAAM,cAAiD;AACvD,IAAM,aAAgD;;;ADyB7D;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAjCP,YAAY,UAAU,aAAa,UAAU;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liveblocks/client",
3
- "version": "1.2.0-internal5",
3
+ "version": "1.2.0-test1",
4
4
  "description": "A client that lets you interact with Liveblocks servers. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./dist/index.js",
@@ -32,7 +32,7 @@
32
32
  "test:watch": "jest --silent --verbose --color=always --passWithNoTests --watch"
33
33
  },
34
34
  "dependencies": {
35
- "@liveblocks/core": "1.2.0-internal5"
35
+ "@liveblocks/core": "1.2.0-test1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@liveblocks/eslint-config": "*",