@langchain/google-webauth 0.0.0 → 0.0.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/types.cjs ADDED
@@ -0,0 +1,17 @@
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("@langchain/google-common/types"), exports);
@@ -0,0 +1 @@
1
+ export * from "@langchain/google-common/types";
package/dist/types.js ADDED
@@ -0,0 +1 @@
1
+ export * from "@langchain/google-common/types";
package/dist/utils.cjs ADDED
@@ -0,0 +1,17 @@
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("@langchain/google-common/utils"), exports);
@@ -0,0 +1 @@
1
+ export * from "@langchain/google-common/utils";
package/dist/utils.js ADDED
@@ -0,0 +1 @@
1
+ export * from "@langchain/google-common/utils";
package/index.d.cts ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/index.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-webauth",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "description": "Web-based authentication support for Google services",
5
5
  "type": "module",
6
6
  "engines": {
@@ -12,9 +12,10 @@
12
12
  "type": "git",
13
13
  "url": "git@github.com:langchain-ai/langchainjs.git"
14
14
  },
15
+ "homepage": "https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-google-webauth/",
15
16
  "scripts": {
16
17
  "build": "yarn run build:deps && yarn clean && yarn build:esm && yarn build:cjs && yarn build:scripts",
17
- "build:deps": "yarn run turbo:command build --filter=@langchain/core --filter=@langchain/google-common",
18
+ "build:deps": "yarn run turbo:command build --filter=@langchain/google-common",
18
19
  "build:esm": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist/ && rm -rf dist/tests dist/**/tests",
19
20
  "build:cjs": "NODE_OPTIONS=--max-old-space-size=4096 tsc --outDir dist-cjs/ -p tsconfig.cjs.json && yarn move-cjs-to-dist && rm -rf dist-cjs",
20
21
  "build:watch": "yarn create-entrypoints && tsc --outDir dist/ --watch",
@@ -23,7 +24,7 @@
23
24
  "lint:dpdm": "dpdm --exit-code circular:1 --no-warning --no-tree src/*.ts src/**/*.ts",
24
25
  "lint": "yarn lint:eslint && yarn lint:dpdm",
25
26
  "lint:fix": "yarn lint:eslint --fix && yarn lint:dpdm",
26
- "clean": "rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 yarn create-entrypoints -- --pre",
27
+ "clean": "rm -rf dist/ && NODE_OPTIONS=--max-old-space-size=4096 yarn lc-build --config ./langchain.config.js --create-entrypoints --pre",
27
28
  "prepack": "yarn build",
28
29
  "test": "yarn run build:deps && NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=\\.int\\.test.ts --testTimeout 30000 --maxWorkers=50%",
29
30
  "test:watch": "yarn run build:deps && NODE_OPTIONS=--experimental-vm-modules jest --watch --testPathIgnorePatterns=\\.int\\.test.ts",
@@ -39,12 +40,12 @@
39
40
  "license": "MIT",
40
41
  "dependencies": {
41
42
  "@langchain/core": "~0.1.1",
42
- "@langchain/google-common": "~0.0.0",
43
+ "@langchain/google-common": "~0.0.2",
43
44
  "web-auth-library": "^1.0.3"
44
45
  },
45
46
  "devDependencies": {
46
47
  "@jest/globals": "^29.5.0",
47
- "@langchain/scripts": "^0.0.2",
48
+ "@langchain/scripts": "~0.0",
48
49
  "@swc/core": "^1.3.90",
49
50
  "@swc/jest": "^0.2.29",
50
51
  "@tsconfig/recommended": "^1.0.3",
@@ -61,6 +62,7 @@
61
62
  "jest": "^29.5.0",
62
63
  "jest-environment-node": "^29.6.4",
63
64
  "prettier": "^2.8.3",
65
+ "release-it": "^15.10.1",
64
66
  "rollup": "^4.5.2",
65
67
  "ts-jest": "^29.1.0",
66
68
  "typescript": "<5.2.0"
@@ -70,16 +72,47 @@
70
72
  },
71
73
  "exports": {
72
74
  ".": {
73
- "types": "./index.d.ts",
75
+ "types": {
76
+ "import": "./index.d.ts",
77
+ "require": "./index.d.cts",
78
+ "default": "./index.d.ts"
79
+ },
74
80
  "import": "./index.js",
75
81
  "require": "./index.cjs"
76
82
  },
83
+ "./utils": {
84
+ "types": {
85
+ "import": "./utils.d.ts",
86
+ "require": "./utils.d.cts",
87
+ "default": "./utils.d.ts"
88
+ },
89
+ "import": "./utils.js",
90
+ "require": "./utils.cjs"
91
+ },
92
+ "./types": {
93
+ "types": {
94
+ "import": "./types.d.ts",
95
+ "require": "./types.d.cts",
96
+ "default": "./types.d.ts"
97
+ },
98
+ "import": "./types.js",
99
+ "require": "./types.cjs"
100
+ },
77
101
  "./package.json": "./package.json"
78
102
  },
79
103
  "files": [
80
104
  "dist/",
81
105
  "index.cjs",
82
106
  "index.js",
83
- "index.d.ts"
107
+ "index.d.ts",
108
+ "index.d.cts",
109
+ "utils.cjs",
110
+ "utils.js",
111
+ "utils.d.ts",
112
+ "utils.d.cts",
113
+ "types.cjs",
114
+ "types.js",
115
+ "types.d.ts",
116
+ "types.d.cts"
84
117
  ]
85
118
  }
package/types.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/types.cjs');
package/types.d.cts ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/types.js'
package/types.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/types.js'
package/types.js ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/types.js'
package/utils.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/utils.cjs');
package/utils.d.cts ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/utils.js'
package/utils.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/utils.js'
package/utils.js ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/utils.js'