@palantir/pack.auth 0.1.0 → 0.1.2

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,5 +1,5 @@
1
1
 
2
- > @palantir/pack.auth@0.1.0 lint /home/runner/work/pack/pack/packages/auth/core
2
+ > @palantir/pack.auth@0.1.2 lint /home/runner/work/pack/pack/packages/auth/core
3
3
  > eslint ./src && dprint check --config $(find-up dprint.json) --allow-no-files
4
4
 
5
5
 
@@ -1,5 +1,6 @@
1
1
 
2
- > @palantir/pack.auth@0.1.0 transpileBrowser /home/runner/work/pack/pack/packages/auth/core
2
+ > @palantir/pack.auth@0.1.2 transpileBrowser /home/runner/work/pack/pack/packages/auth/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`
5
6
  👍
@@ -1,5 +1,6 @@
1
1
 
2
- > @palantir/pack.auth@0.1.0 transpileCjs /home/runner/work/pack/pack/packages/auth/core
2
+ > @palantir/pack.auth@0.1.2 transpileCjs /home/runner/work/pack/pack/packages/auth/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`
5
6
  👍
@@ -1,5 +1,6 @@
1
1
 
2
- > @palantir/pack.auth@0.1.0 transpileEsm /home/runner/work/pack/pack/packages/auth/core
2
+ > @palantir/pack.auth@0.1.2 transpileEsm /home/runner/work/pack/pack/packages/auth/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`
5
6
  👍
@@ -1,5 +1,5 @@
1
1
 
2
- > @palantir/pack.auth@0.1.0 transpileTypes /home/runner/work/pack/pack/packages/auth/core
2
+ > @palantir/pack.auth@0.1.2 transpileTypes /home/runner/work/pack/pack/packages/auth/core
3
3
  > monorepo-transpile -f esm -m types -t node
4
4
 
5
5
  👍
@@ -1,4 +1,4 @@
1
1
 
2
- > @palantir/pack.auth@0.1.0 typecheck /home/runner/work/pack/pack/packages/auth/core
2
+ > @palantir/pack.auth@0.1.2 typecheck /home/runner/work/pack/pack/packages/auth/core
3
3
  > tsc --noEmit --emitDeclarationOnly false
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @palantir/pack.auth
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 5120719: Update dependency ranges
8
+ - Updated dependencies [5120719]
9
+ - @palantir/pack.core@0.2.2
10
+
11
+ ## 0.1.1
12
+
13
+ ### Patch Changes
14
+
15
+ - 571578c: Add Booleans to pack.schema
16
+ - 87f1e63: Support for demo mode (offline) document services
17
+ - 7ee55de: Bump dependencies
18
+ - 4a44875: Remove bun-specific scripts and dependency
19
+ - Updated dependencies [9f45b8e]
20
+ - Updated dependencies [571578c]
21
+ - Updated dependencies [e6e40f7]
22
+ - Updated dependencies [7ee55de]
23
+ - Updated dependencies [4a44875]
24
+ - @palantir/pack.core@0.2.1
25
+
3
26
  ## 0.1.0
4
27
 
5
28
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- import { Flavored, PackAppInternal, Unsubscribe, ModuleConfigTuple } from '@palantir/pack.core';
1
+ import { Flavored, PackAppInternal, PackApp, Unsubscribe, ModuleConfigTuple } from '@palantir/pack.core';
2
2
 
3
3
  declare const AuthState: {
4
4
  readonly Authenticated: "authenticated";
@@ -158,7 +158,7 @@ interface AuthModule {
158
158
  * @param app - PACK app instance
159
159
  * @returns The auth module
160
160
  */
161
- declare function getAuthModule(app: PackAppInternal): AuthModule;
161
+ declare function getAuthModule(app: PackApp | PackAppInternal): AuthModule;
162
162
 
163
163
  /**
164
164
  * Base interface for auth services that wrap different OAuth client implementations.
@@ -1,4 +1,4 @@
1
- import type { PackAppInternal, Unsubscribe } from "@palantir/pack.core";
1
+ import type { PackApp, PackAppInternal, Unsubscribe } from "@palantir/pack.core";
2
2
  import type { AuthStateCallback } from "./AuthState.js";
3
3
  import type { TokenChangeCallback } from "./TokenChange.js";
4
4
  import type { UserRef } from "./UserRef.js";
@@ -82,4 +82,4 @@ export interface AuthModule {
82
82
  * @param app - PACK app instance
83
83
  * @returns The auth module
84
84
  */
85
- export declare function getAuthModule(app: PackAppInternal): AuthModule;
85
+ export declare function getAuthModule(app: PackApp | PackAppInternal): AuthModule;
@@ -1 +1 @@
1
- {"mappings":"AAgBA,cAAc,iBAAiB,mBAAmB;AAGlD,cAAc,yBAAyB;AACvC,cAAc,2BAA2B;AACzC,cAAc,eAAe;;;;;;;AAQ7B,iBAAiB,WAAW;;;;;;;;CAQ1B,eAAe,4BAA4B;;;;;CAM3C,YAAY;;;;CAKZ;;;;;;;CAQA,YAAY,gBAAgB,kBAAkB;;;;CAK9C;;;;;;;CAQA,kBAAkB,UAAU,oBAAoB;;;;;;;CAQhD,cAAc,UAAU,sBAAsB;;;;;CAM9C,YAAY;;;;;CAMZ,UAAU;;;;CAKV,WAAW;;;;;CAMX,iBAAiB;;;;;CAMjB,eAAe;;;;;;;;AASjB,OAAO,iBAAS,cAAc,KAAK,kBAAkB","names":[],"sources":["../../../src/types/AuthModule.ts"],"version":3,"file":"AuthModule.d.ts"}
1
+ {"mappings":"AAgBA,cAAc,SAAS,iBAAiB,mBAAmB;AAG3D,cAAc,yBAAyB;AACvC,cAAc,2BAA2B;AACzC,cAAc,eAAe;;;;;;;AAQ7B,iBAAiB,WAAW;;;;;;;;CAQ1B,eAAe,4BAA4B;;;;;CAM3C,YAAY;;;;CAKZ;;;;;;;CAQA,YAAY,gBAAgB,kBAAkB;;;;CAK9C;;;;;;;CAQA,kBAAkB,UAAU,oBAAoB;;;;;;;CAQhD,cAAc,UAAU,sBAAsB;;;;;CAM9C,YAAY;;;;;CAMZ,UAAU;;;;CAKV,WAAW;;;;;CAMX,iBAAiB;;;;;CAMjB,eAAe;;;;;;;;AASjB,OAAO,iBAAS,cAAc,KAAK,UAAU,kBAAkB","names":[],"sources":["../../../src/types/AuthModule.ts"],"version":3,"file":"AuthModule.d.ts"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@palantir/pack.auth",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Authentication system for PACK applications",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -29,15 +29,15 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "tiny-invariant": "^1.3.3",
32
- "@palantir/pack.core": "0.2.0"
32
+ "@palantir/pack.core": "0.2.2"
33
33
  },
34
34
  "peerDependencies": {
35
- "@osdk/client": "~2.4.2"
35
+ "@osdk/client": "^2.5.2"
36
36
  },
37
37
  "devDependencies": {
38
- "rimraf": "^6.0.1",
38
+ "rimraf": "^6.1.2",
39
39
  "tslib": "^2.8.1",
40
- "typescript": "^5.9.2",
40
+ "typescript": "^5.9.3",
41
41
  "vitest-mock-extended": "^3.1.0",
42
42
  "@palantir/pack.monorepo.tsconfig": "~0.4.3"
43
43
  },
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import type { PackAppInternal, Unsubscribe } from "@palantir/pack.core";
17
+ import type { PackApp, PackAppInternal, Unsubscribe } from "@palantir/pack.core";
18
18
  import { assertIsAppInternal } from "@palantir/pack.core";
19
19
  import { AUTH_MODULE_KEY } from "../constants/AuthModuleKey.js";
20
20
  import type { AuthStateCallback } from "./AuthState.js";
@@ -113,7 +113,7 @@ export interface AuthModule {
113
113
  * @param app - PACK app instance
114
114
  * @returns The auth module
115
115
  */
116
- export function getAuthModule(app: PackAppInternal): AuthModule {
116
+ export function getAuthModule(app: PackApp | PackAppInternal): AuthModule {
117
117
  assertIsAppInternal(app);
118
118
  return app.getModule(AUTH_MODULE_KEY);
119
119
  }