@shisyamo4131/air-firebase-v2-client-adapter 2.1.3-dev.0 → 2.1.3-dev.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/index.js +6 -2
- package/package.json +43 -43
package/index.js
CHANGED
|
@@ -333,7 +333,9 @@ class ClientAdapter {
|
|
|
333
333
|
if (err instanceof ClientAdapterError) {
|
|
334
334
|
throw err;
|
|
335
335
|
} else if (err.name === "ValidationError") {
|
|
336
|
-
|
|
336
|
+
// BaseClass のエラーをそのままスローする
|
|
337
|
+
// throw new ClientAdapterError(ERRORS.VALIDATION_FIELD_ERROR, err);
|
|
338
|
+
throw err;
|
|
337
339
|
} else {
|
|
338
340
|
this._outputErrorConsole("create", err);
|
|
339
341
|
throw new ClientAdapterError(ERRORS.SYSTEM_UNKNOWN_ERROR, err);
|
|
@@ -695,7 +697,9 @@ class ClientAdapter {
|
|
|
695
697
|
if (err instanceof ClientAdapterError) {
|
|
696
698
|
throw err;
|
|
697
699
|
} else if (err.name === "ValidationError") {
|
|
698
|
-
|
|
700
|
+
// BaseClass のエラーをそのままスローする
|
|
701
|
+
// throw new ClientAdapterError(ERRORS.VALIDATION_FIELD_ERROR, err);
|
|
702
|
+
throw err;
|
|
699
703
|
} else {
|
|
700
704
|
this._outputErrorConsole("update", err);
|
|
701
705
|
throw new ClientAdapterError(ERRORS.SYSTEM_UNKNOWN_ERROR, err);
|
package/package.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@shisyamo4131/air-firebase-v2-client-adapter",
|
|
3
|
-
"version": "2.1.3-dev.
|
|
4
|
-
"description": "client adapter for FireModel",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": "./index.js"
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"index.js",
|
|
12
|
-
"error.js"
|
|
13
|
-
],
|
|
14
|
-
"keywords": [
|
|
15
|
-
"firebase",
|
|
16
|
-
"firestore",
|
|
17
|
-
"client",
|
|
18
|
-
"adapter"
|
|
19
|
-
],
|
|
20
|
-
"author": "shisyamo4131",
|
|
21
|
-
"license": "ISC",
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "https://github.com/shisyamo4131/air-firebase-v2-client-adapter.git"
|
|
25
|
-
},
|
|
26
|
-
"scripts": {
|
|
27
|
-
"dev:publish": "npm version prerelease --preid=dev && npm publish --tag dev",
|
|
28
|
-
"release:patch": "npm version patch && npm publish",
|
|
29
|
-
"release:minor": "npm version minor && npm publish",
|
|
30
|
-
"release:major": "npm version major && npm publish",
|
|
31
|
-
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
|
|
32
|
-
},
|
|
33
|
-
"publishConfig": {
|
|
34
|
-
"access": "public"
|
|
35
|
-
},
|
|
36
|
-
"peerDependencies": {
|
|
37
|
-
"firebase": "^10.0.0 || ^11.0.0"
|
|
38
|
-
},
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"@jest/globals": "^30.2.0",
|
|
41
|
-
"jest": "^30.2.0"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@shisyamo4131/air-firebase-v2-client-adapter",
|
|
3
|
+
"version": "2.1.3-dev.1",
|
|
4
|
+
"description": "client adapter for FireModel",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./index.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"index.js",
|
|
12
|
+
"error.js"
|
|
13
|
+
],
|
|
14
|
+
"keywords": [
|
|
15
|
+
"firebase",
|
|
16
|
+
"firestore",
|
|
17
|
+
"client",
|
|
18
|
+
"adapter"
|
|
19
|
+
],
|
|
20
|
+
"author": "shisyamo4131",
|
|
21
|
+
"license": "ISC",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://github.com/shisyamo4131/air-firebase-v2-client-adapter.git"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"dev:publish": "npm version prerelease --preid=dev && npm publish --tag dev",
|
|
28
|
+
"release:patch": "npm version patch && npm publish",
|
|
29
|
+
"release:minor": "npm version minor && npm publish",
|
|
30
|
+
"release:major": "npm version major && npm publish",
|
|
31
|
+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"firebase": "^10.0.0 || ^11.0.0"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@jest/globals": "^30.2.0",
|
|
41
|
+
"jest": "^30.2.0"
|
|
42
|
+
}
|
|
43
|
+
}
|