@ibm-cloud/secrets-manager 2.0.18 → 2.1.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.
- package/.releaserc +13 -20
- package/dist/.gitattributes +1 -0
- package/dist/.prettierrc.js +6 -0
- package/dist/.releaserc +33 -0
- package/dist/CODE_OF_CONDUCT.md +62 -0
- package/dist/CONTRIBUTING.MD +23 -0
- package/dist/LICENSE +176 -0
- package/dist/README.md +240 -0
- package/dist/examples/secrets-manager.v2.test.js +1393 -0
- package/dist/package.json +55 -0
- package/dist/renovate.json +6 -0
- package/dist/tsconfig.json +34 -0
- package/package.json +33 -3
- package/.bumpversion.cfg +0 -8
- package/CHANGELOG.md +0 -84
- /package/{auth → dist/auth}/index.d.ts +0 -0
- /package/{auth → dist/auth}/index.js +0 -0
- /package/{auth → dist/auth}/index.js.map +0 -0
- /package/{lib → dist/lib}/common.d.ts +0 -0
- /package/{lib → dist/lib}/common.js +0 -0
- /package/{lib → dist/lib}/common.js.map +0 -0
- /package/{secrets-manager → dist/secrets-manager}/v2.d.ts +0 -0
- /package/{secrets-manager → dist/secrets-manager}/v2.js +0 -0
- /package/{secrets-manager → dist/secrets-manager}/v2.js.map +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ibm-cloud/secrets-manager",
|
|
3
|
+
"version": "2.1.0",
|
|
4
|
+
"description": "Client library for IBM Cloud Secrets Manager",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/IBM/secrets-manager-node-sdk"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"ibm",
|
|
11
|
+
"secrets-manager"
|
|
12
|
+
],
|
|
13
|
+
"author": "IBM Corp.",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"eslint:fix": "eslint . --fix",
|
|
16
|
+
"eslint:check": "eslint . --cache",
|
|
17
|
+
"lint": "npm run eslint:check",
|
|
18
|
+
"lint-fix": "npm run eslint:fix",
|
|
19
|
+
"build": "tsc && cp package.json dist/ && cp README.md dist/",
|
|
20
|
+
"prepare-publish": "npx @masterodin/publisher --dry-run --no-checks",
|
|
21
|
+
"postversion": "npm run prepare-publish",
|
|
22
|
+
"dry-publish": "npm run build && npm run prepare-publish",
|
|
23
|
+
"publishDist": "npm run build && cd dist && npm publish --access public",
|
|
24
|
+
"jest": "jest",
|
|
25
|
+
"test": "npm run build && jest test/",
|
|
26
|
+
"test-unit": "npm run build && jest test/unit/",
|
|
27
|
+
"test-integration": "npm run build && jest test/integration",
|
|
28
|
+
"test-examples": "npm run build && jest examples/",
|
|
29
|
+
"test-travis": "jest --runInBand --testNamePattern='^((?!@slow).)*$' test/",
|
|
30
|
+
"test-unit-travis": "jest --runInBand test/unit/",
|
|
31
|
+
"test-integration-travis": "jest --runInBand --no-colors --testNamePattern='^((?!@slow).)*$' --json test/integration > test-output.log",
|
|
32
|
+
"report-coverage": "codecov",
|
|
33
|
+
"check-packages": "installed-check -e -d -v"
|
|
34
|
+
},
|
|
35
|
+
"license": "Apache-2.0",
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=22.0.0"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"extend": "^3.0.2",
|
|
41
|
+
"ibm-cloud-sdk-core": "^5.4.10"
|
|
42
|
+
},
|
|
43
|
+
"overrides": {
|
|
44
|
+
"js-yaml": "^4.1.1"
|
|
45
|
+
},
|
|
46
|
+
"jest": {
|
|
47
|
+
"collectCoverage": true,
|
|
48
|
+
"coverageDirectory": "./coverage/",
|
|
49
|
+
"coveragePathIgnorePatterns": [
|
|
50
|
+
"<rootDir>/test/",
|
|
51
|
+
"<rootDir>/examples/"
|
|
52
|
+
],
|
|
53
|
+
"testEnvironment": "node"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
/* Basic Options */
|
|
4
|
+
"target": "es5",
|
|
5
|
+
/* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
|
|
6
|
+
"module": "commonjs",
|
|
7
|
+
/* Specify module code generation: 'none', commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
|
|
8
|
+
"lib": [
|
|
9
|
+
"es5",
|
|
10
|
+
"es2015",
|
|
11
|
+
"dom",
|
|
12
|
+
"scripthost"
|
|
13
|
+
],
|
|
14
|
+
/* Build source files into a folder called `dist` to maintain clean directories, free of ts-generated files */
|
|
15
|
+
"outDir": "./dist",
|
|
16
|
+
/* Specify library files to be included in the compilation: */
|
|
17
|
+
"declaration": true,
|
|
18
|
+
/* Generates corresponding '.d.ts' file. */
|
|
19
|
+
"sourceMap": true,
|
|
20
|
+
/* Generates corresponding '.map' file. */
|
|
21
|
+
|
|
22
|
+
/* Strict Type-Checking Options */
|
|
23
|
+
"alwaysStrict": true,
|
|
24
|
+
/* Parse in strict mode and emit "use strict" for each source file. */
|
|
25
|
+
|
|
26
|
+
/* Module Resolution Options */
|
|
27
|
+
"moduleResolution": "node",
|
|
28
|
+
/* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
|
29
|
+
"types": [
|
|
30
|
+
"node"
|
|
31
|
+
]
|
|
32
|
+
/* Type declaration files to be included in compilation. */
|
|
33
|
+
}
|
|
34
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibm-cloud/secrets-manager",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Client library for IBM Cloud Secrets Manager",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,7 +38,37 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"extend": "^3.0.2",
|
|
41
|
-
"ibm-cloud-sdk-core": "^5.4.
|
|
41
|
+
"ibm-cloud-sdk-core": "^5.4.10"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@ibm-cloud/sdk-test-utilities": "^1.0.0",
|
|
45
|
+
"@masterodin/publisher": "^0.10.0",
|
|
46
|
+
"@semantic-release/git": "^10.0.1",
|
|
47
|
+
"@semantic-release/github": "^12.0.6",
|
|
48
|
+
"@semantic-release/npm": "^13.1.5",
|
|
49
|
+
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
50
|
+
"@types/extend": "^3.0.1",
|
|
51
|
+
"@types/node": "^12.0.8",
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
|
53
|
+
"@typescript-eslint/parser": "^5.48.0",
|
|
54
|
+
"axios": "1.14.0",
|
|
55
|
+
"dotenv": "^8.2.0",
|
|
56
|
+
"eslint": "^7.32.0",
|
|
57
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
58
|
+
"eslint-config-airbnb-typescript": "^12.3.1",
|
|
59
|
+
"eslint-config-prettier": "^10.0.0",
|
|
60
|
+
"eslint-plugin-import": "^2.26.0",
|
|
61
|
+
"eslint-plugin-jest": "^24.3.6",
|
|
62
|
+
"eslint-plugin-jsdoc": "^34.6.3",
|
|
63
|
+
"eslint-plugin-node": "^11.0.0",
|
|
64
|
+
"eslint-plugin-prettier": "^3.0.1",
|
|
65
|
+
"installed-check": "^10.0.0",
|
|
66
|
+
"jest": "^30.0.0",
|
|
67
|
+
"nock": "^14.0.0",
|
|
68
|
+
"prettier": "^3.6.2",
|
|
69
|
+
"semantic-release": "^25.0.0",
|
|
70
|
+
"typedoc": "^0.28.14",
|
|
71
|
+
"typescript": "^5.4.5"
|
|
42
72
|
},
|
|
43
73
|
"overrides": {
|
|
44
74
|
"js-yaml": "^4.1.1"
|
|
@@ -52,4 +82,4 @@
|
|
|
52
82
|
],
|
|
53
83
|
"testEnvironment": "node"
|
|
54
84
|
}
|
|
55
|
-
}
|
|
85
|
+
}
|
package/.bumpversion.cfg
DELETED
package/CHANGELOG.md
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
## [2.0.18](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.17...v2.0.18) (2026-03-16)
|
|
2
|
-
|
|
3
|
-
## [2.0.17](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.16...v2.0.17) (2026-03-16)
|
|
4
|
-
|
|
5
|
-
## [2.0.16](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.15...v2.0.16) (2026-03-16)
|
|
6
|
-
|
|
7
|
-
## [2.0.15](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.14...v2.0.15) (2026-03-16)
|
|
8
|
-
|
|
9
|
-
## [2.0.14](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.13...v2.0.14) (2025-09-13)
|
|
10
|
-
|
|
11
|
-
## [2.0.13](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.12...v2.0.13) (2025-08-25)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
### Reverts
|
|
15
|
-
|
|
16
|
-
* Revert "Revert "Add retrieved_at field (#230)" (#231)" ([1fc4e90](https://github.com/IBM/secrets-manager-node-sdk/commit/1fc4e905accda3053bd359c1e783011d31e71d13)), closes [#230](https://github.com/IBM/secrets-manager-node-sdk/issues/230) [#231](https://github.com/IBM/secrets-manager-node-sdk/issues/231)
|
|
17
|
-
|
|
18
|
-
## [2.0.12](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.11...v2.0.12) (2025-08-13)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
### Reverts
|
|
22
|
-
|
|
23
|
-
* Revert "Add retrieved_at field (#230)" (#231) ([9951e4f](https://github.com/IBM/secrets-manager-node-sdk/commit/9951e4f442009de5ac927655ddc1623d834207e2)), closes [#230](https://github.com/IBM/secrets-manager-node-sdk/issues/230) [#231](https://github.com/IBM/secrets-manager-node-sdk/issues/231)
|
|
24
|
-
|
|
25
|
-
## [2.0.11](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.10...v2.0.11) (2025-06-15)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
### Bug Fixes
|
|
29
|
-
|
|
30
|
-
* **deps:** update dependency ibm-cloud-sdk-core to v5.4.0 ([dbcfc92](https://github.com/IBM/secrets-manager-node-sdk/commit/dbcfc92f2a51a2c4acc651e6a465cbc08bcfbb48))
|
|
31
|
-
|
|
32
|
-
## [2.0.10](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.9...v2.0.10) (2025-05-05)
|
|
33
|
-
|
|
34
|
-
## [2.0.9](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.8...v2.0.9) (2025-02-17)
|
|
35
|
-
|
|
36
|
-
## [2.0.8](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.7...v2.0.8) (2024-10-07)
|
|
37
|
-
|
|
38
|
-
## [2.0.7](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.6...v2.0.7) (2024-09-23)
|
|
39
|
-
|
|
40
|
-
## [2.0.6](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.5...v2.0.6) (2024-09-09)
|
|
41
|
-
|
|
42
|
-
## [2.0.5](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.4...v2.0.5) (2024-08-05)
|
|
43
|
-
|
|
44
|
-
## [2.0.4](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.3...v2.0.4) (2024-03-11)
|
|
45
|
-
|
|
46
|
-
## [2.0.3](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.2...v2.0.3) (2024-02-07)
|
|
47
|
-
|
|
48
|
-
## [2.0.2](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.1...v2.0.2) (2023-12-11)
|
|
49
|
-
|
|
50
|
-
## [2.0.1](https://github.com/IBM/secrets-manager-node-sdk/compare/v2.0.0...v2.0.1) (2023-09-19)
|
|
51
|
-
|
|
52
|
-
# [2.0.0](https://github.com/IBM/secrets-manager-node-sdk/compare/v1.0.44...v2.0.0) (2023-04-17)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
### Features
|
|
56
|
-
|
|
57
|
-
* new SM v2 API release ([abd88e0](https://github.com/IBM/secrets-manager-node-sdk/commit/abd88e0825bd524f6601d7b682dd79e69323e7d6))
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### BREAKING CHANGES
|
|
61
|
-
|
|
62
|
-
* new v2 API.
|
|
63
|
-
|
|
64
|
-
Signed-off-by: yuval-shlomo-dekel <yuval.shlomo.dekel@ibm.com>
|
|
65
|
-
|
|
66
|
-
## [1.0.44](https://github.com/IBM/secrets-manager-node-sdk/compare/v1.0.43...v1.0.44) (2023-02-15)
|
|
67
|
-
|
|
68
|
-
## [1.0.43](https://github.com/IBM/secrets-manager-node-sdk/compare/v1.0.42...v1.0.43) (2023-01-08)
|
|
69
|
-
|
|
70
|
-
## [1.0.42](https://github.com/IBM/secrets-manager-node-sdk/compare/v1.0.41...v1.0.42) (2022-12-08)
|
|
71
|
-
|
|
72
|
-
## [1.0.41](https://github.com/IBM/secrets-manager-node-sdk/compare/v1.0.40...v1.0.41) (2022-12-08)
|
|
73
|
-
|
|
74
|
-
# 1.0.39 (2022-12-08)
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
### Bug Fixes
|
|
78
|
-
|
|
79
|
-
* **ci:** downgrade to Ubuntu-20.04 ([c4457b4](https://github.com/IBM/secrets-manager-node-sdk/commit/c4457b4c99baa6b492b1a4a7c239207bf3953e0f))
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
### Reverts
|
|
83
|
-
|
|
84
|
-
* Revert "Adding retries to tests" ([3ee48dd](https://github.com/IBM/secrets-manager-node-sdk/commit/3ee48dd57a322b48e1aeca2ac0d5595e8f5c7a5f))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|