tinacms 1.4.2 → 1.4.3

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.es.js CHANGED
@@ -45,9 +45,7 @@ const parseRefForBranchName = (ref) => {
45
45
  return matches[1];
46
46
  };
47
47
  const ListBranchResponse = z.object({
48
- name: z.string(),
49
- protected: z.boolean(),
50
- commit: z.object({ sha: z.string(), url: z.string() })
48
+ name: z.string()
51
49
  }).array();
52
50
  const IndexStatusResponse = z.object({
53
51
  status: z.union([
package/dist/index.js CHANGED
@@ -60,9 +60,7 @@
60
60
  return matches[1];
61
61
  };
62
62
  const ListBranchResponse = zod.z.object({
63
- name: zod.z.string(),
64
- protected: zod.z.boolean(),
65
- commit: zod.z.object({ sha: zod.z.string(), url: zod.z.string() })
63
+ name: zod.z.string()
66
64
  }).array();
67
65
  const IndexStatusResponse = zod.z.object({
68
66
  status: zod.z.union([
@@ -217,11 +217,6 @@ export declare class Client {
217
217
  timestamp?: number;
218
218
  };
219
219
  name?: string;
220
- protected?: boolean;
221
- commit?: {
222
- url?: string;
223
- sha?: string;
224
- };
225
220
  }[]>;
226
221
  createBranch({ baseBranch, branchName }: BranchData): Promise<string>;
227
222
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinacms",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "main": "dist/index.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "exports": {
@@ -56,9 +56,6 @@
56
56
  "@headlessui/react": "^1.5.0",
57
57
  "@heroicons/react": "^1.0.4",
58
58
  "@react-hook/window-size": "^3.0.7",
59
- "@tinacms/schema-tools": "1.4.2",
60
- "@tinacms/sharedctx": "1.0.1",
61
- "@tinacms/toolkit": "1.6.1",
62
59
  "crypto-js": "^4.0.0",
63
60
  "encoding": "0.1.13",
64
61
  "fetch-ponyfill": "^7.1.0",
@@ -70,7 +67,10 @@
70
67
  "react-icons": "^4.3.1",
71
68
  "react-router-dom": "6",
72
69
  "yup": "^0.32.0",
73
- "zod": "^3.14.3"
70
+ "zod": "^3.14.3",
71
+ "@tinacms/schema-tools": "1.4.2",
72
+ "@tinacms/sharedctx": "1.0.1",
73
+ "@tinacms/toolkit": "1.6.2"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@graphql-tools/utils": "^8.6.1",
@@ -78,7 +78,6 @@
78
78
  "@testing-library/react": "^12.0.0",
79
79
  "@testing-library/react-hooks": "^7.0.2",
80
80
  "@testing-library/user-event": "^12.7.0",
81
- "@tinacms/scripts": "1.1.0",
82
81
  "@types/jest": "^27.0.1",
83
82
  "@types/lodash": "^4.14.169",
84
83
  "@types/node": "^14.0.13",
@@ -92,7 +91,8 @@
92
91
  "react": "17.0.2",
93
92
  "react-dom": "17.0.2",
94
93
  "react-is": "^17.0.2",
95
- "typescript": "4.3.5"
94
+ "typescript": "4.3.5",
95
+ "@tinacms/scripts": "1.1.0"
96
96
  },
97
97
  "peerDependencies": {
98
98
  "react": ">=16.14.0",