@orpc/vue-colada 0.38.0 → 0.40.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/dist/index.js +1 -9
- package/package.json +5 -4
package/dist/index.js
CHANGED
@@ -19,16 +19,8 @@ function createGeneralUtils(path) {
|
|
19
19
|
// src/procedure-utils.ts
|
20
20
|
import { computed } from "vue";
|
21
21
|
|
22
|
-
// ../shared/src/object.ts
|
23
|
-
function isObject(value) {
|
24
|
-
if (!value || typeof value !== "object") {
|
25
|
-
return false;
|
26
|
-
}
|
27
|
-
const proto = Object.getPrototypeOf(value);
|
28
|
-
return proto === Object.prototype || !proto || !proto.constructor;
|
29
|
-
}
|
30
|
-
|
31
22
|
// src/utils.ts
|
23
|
+
import { isObject } from "@orpc/shared";
|
32
24
|
import { isRef } from "vue";
|
33
25
|
function unrefDeep(value) {
|
34
26
|
if (isRef(value)) {
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@orpc/vue-colada",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.
|
4
|
+
"version": "0.40.0",
|
5
5
|
"license": "MIT",
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
7
7
|
"repository": {
|
@@ -35,11 +35,12 @@
|
|
35
35
|
"peerDependencies": {
|
36
36
|
"@pinia/colada": "^0.13.5",
|
37
37
|
"vue": ">=3.3.0",
|
38
|
-
"@orpc/
|
39
|
-
"@orpc/
|
38
|
+
"@orpc/client": "0.40.0",
|
39
|
+
"@orpc/contract": "0.40.0"
|
40
40
|
},
|
41
41
|
"dependencies": {
|
42
|
-
"@orpc/server": "0.
|
42
|
+
"@orpc/server": "0.40.0",
|
43
|
+
"@orpc/shared": "0.40.0"
|
43
44
|
},
|
44
45
|
"devDependencies": {
|
45
46
|
"pinia": "^2.3.0"
|