@palantir/pack.core 0.2.2 → 0.4.0

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,4 +1,4 @@
1
1
 
2
- > @palantir/pack.core@0.2.2 lint /home/runner/work/pack/pack/packages/core
2
+ > @palantir/pack.core@0.4.0 lint /home/runner/work/pack/pack/packages/core
3
3
  > eslint ./src && dprint check --config $(find-up dprint.json) --allow-no-files
4
4
 
@@ -1,6 +1,5 @@
1
1
 
2
- > @palantir/pack.core@0.2.2 transpileBrowser /home/runner/work/pack/pack/packages/core
2
+ > @palantir/pack.core@0.4.0 transpileBrowser /home/runner/work/pack/pack/packages/core
3
3
  > monorepo-transpile -f esm -m bundle -t browser
4
4
 
5
- [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
6
5
  👍
@@ -1,6 +1,5 @@
1
1
 
2
- > @palantir/pack.core@0.2.2 transpileCjs /home/runner/work/pack/pack/packages/core
2
+ > @palantir/pack.core@0.4.0 transpileCjs /home/runner/work/pack/pack/packages/core
3
3
  > monorepo-transpile -f cjs -m bundle -t node
4
4
 
5
- [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
6
5
  👍
@@ -1,6 +1,5 @@
1
1
 
2
- > @palantir/pack.core@0.2.2 transpileEsm /home/runner/work/pack/pack/packages/core
2
+ > @palantir/pack.core@0.4.0 transpileEsm /home/runner/work/pack/pack/packages/core
3
3
  > monorepo-transpile -f esm -m bundle -t node
4
4
 
5
- [baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
6
5
  👍
@@ -1,5 +1,5 @@
1
1
 
2
- > @palantir/pack.core@0.2.2 transpileTypes /home/runner/work/pack/pack/packages/core
2
+ > @palantir/pack.core@0.4.0 transpileTypes /home/runner/work/pack/pack/packages/core
3
3
  > monorepo-transpile -f esm -m types -t node
4
4
 
5
5
  👍
@@ -1,4 +1,4 @@
1
1
 
2
- > @palantir/pack.core@0.2.2 typecheck /home/runner/work/pack/pack/packages/core
2
+ > @palantir/pack.core@0.4.0 typecheck /home/runner/work/pack/pack/packages/core
3
3
  > tsc --noEmit --emitDeclarationOnly false
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @palantir/pack.core
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 98803f7: Add version-safe update methods to DocumentRef
8
+
9
+ ## 0.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 597bb0c: rewrite websocket url
14
+
3
15
  ## 0.2.2
4
16
 
5
17
  ### Patch Changes
@@ -121,7 +121,7 @@ interface AppConfig {
121
121
  readonly ontologyRid: Promise<string>;
122
122
  readonly osdkClient: Client;
123
123
  readonly remote: {
124
- readonly packWsPath: string;
124
+ readonly packEventsUrl: string;
125
125
  readonly baseUrl: string;
126
126
  readonly fetchFn: typeof globalThis.fetch;
127
127
  };
@@ -166,9 +166,10 @@ interface AppOptions {
166
166
  readonly ontologyRid?: string | Promise<string>;
167
167
  readonly remote?: {
168
168
  /**
169
- * @default "/api/v2/packSubscriptions"
169
+ * Absolute URL of the backpack cometD endpoint. Typically supplied by host
170
+ * environments.
170
171
  */
171
- readonly packWsPath?: string;
172
+ readonly packEventsUrl?: string;
172
173
  /**
173
174
  * Override the base URL from the OSDK client.
174
175
  *
@@ -19,7 +19,7 @@ export interface AppConfig {
19
19
  readonly ontologyRid: Promise<string>;
20
20
  readonly osdkClient: Client;
21
21
  readonly remote: {
22
- readonly packWsPath: string;
22
+ readonly packEventsUrl: string;
23
23
  readonly baseUrl: string;
24
24
  readonly fetchFn: typeof globalThis.fetch;
25
25
  };
@@ -64,9 +64,10 @@ export interface AppOptions {
64
64
  readonly ontologyRid?: string | Promise<string>;
65
65
  readonly remote?: {
66
66
  /**
67
- * @default "/api/v2/packSubscriptions"
67
+ * Absolute URL of the backpack cometD endpoint. Typically supplied by host
68
+ * environments.
68
69
  */
69
- readonly packWsPath?: string;
70
+ readonly packEventsUrl?: string;
70
71
  /**
71
72
  * Override the base URL from the OSDK client.
72
73
  *
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,cAAc;AAC5B,cAAc,cAAc;AAC5B,cAAc,yBAAyB;AACvC,cAAc,qBAAqB;AAEnC,iBAAiB,UAAU;UAChB,KAAK;WACH;WACA;;;;;;;;;UAUF;UAEA,QAAQ;UAER,aAAa;UACb,YAAY;UAEZ,QAAQ;WACN;WACA;WACA,gBAAgB,WAAW;;;AAIxC,iBAAiB,WAAW;;;;;;UAMjB,OAAO;;;;;UAMP,MAAM;WACJ;WACA;;;;;;;;;;;;UAaF,qBAAqB;;;;;;UAOrB,SAAS;UACT,WAAW,UAAU,UAAU,SAAS;;;;UAKxC,2BAA2B;UAG3B,uBAAuB;UAEvB,SAAS;;;;WAIP;;;;;;;;WASA;;;;WAKA,iBAAiB,WAAW","names":[],"sources":["../../../src/types/AppConfig.ts"],"version":3,"file":"AppConfig.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,cAAc;AAC5B,cAAc,cAAc;AAC5B,cAAc,yBAAyB;AACvC,cAAc,qBAAqB;AAEnC,iBAAiB,UAAU;UAChB,KAAK;WACH;WACA;;;;;;;;;UAUF;UAEA,QAAQ;UAER,aAAa;UACb,YAAY;UAEZ,QAAQ;WACN;WACA;WACA,gBAAgB,WAAW;;;AAIxC,iBAAiB,WAAW;;;;;;UAMjB,OAAO;;;;;UAMP,MAAM;WACJ;WACA;;;;;;;;;;;;UAaF,qBAAqB;;;;;;UAOrB,SAAS;UACT,WAAW,UAAU,UAAU,SAAS;;;;UAKxC,2BAA2B;UAG3B,uBAAuB;UAEvB,SAAS;;;;;WAKP;;;;;;;;WASA;;;;WAKA,iBAAiB,WAAW","names":[],"sources":["../../../src/types/AppConfig.ts"],"version":3,"file":"AppConfig.d.ts"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@palantir/pack.core",
3
- "version": "0.2.2",
3
+ "version": "0.4.0",
4
4
  "description": "PACK Core functionality and utilities",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -40,7 +40,7 @@ export interface AppConfig {
40
40
  readonly osdkClient: Client;
41
41
 
42
42
  readonly remote: {
43
- readonly packWsPath: string;
43
+ readonly packEventsUrl: string;
44
44
  readonly baseUrl: string;
45
45
  readonly fetchFn: typeof globalThis.fetch;
46
46
  };
@@ -93,9 +93,10 @@ export interface AppOptions {
93
93
 
94
94
  readonly remote?: {
95
95
  /**
96
- * @default "/api/v2/packSubscriptions"
96
+ * Absolute URL of the backpack cometD endpoint. Typically supplied by host
97
+ * environments.
97
98
  */
98
- readonly packWsPath?: string;
99
+ readonly packEventsUrl?: string;
99
100
 
100
101
  /**
101
102
  * Override the base URL from the OSDK client.