appwrite-utils-cli 0.9.63 → 0.9.64

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/README.md CHANGED
@@ -124,6 +124,7 @@ This updated CLI ensures that developers have robust tools at their fingertips t
124
124
 
125
125
  ## Changelog
126
126
 
127
+ - 0.9.64: Fixed string attribute requiring xdefault
127
128
  - 0.9.61: Remove fileURLToPath -- should hopefully fix windows
128
129
  - 0.9.60: Fix init command to repository URL
129
130
  - 0.9.59: Fix to Windows path names for loading config
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "appwrite-utils-cli",
3
3
  "description": "Appwrite Utility Functions to help with database management, data conversion, data import, migrations, and much more. Meant to be used as a CLI tool, I do not recommend installing this in frontend environments.",
4
- "version": "0.9.63",
4
+ "version": "0.9.64",
5
5
  "main": "src/main.ts",
6
6
  "type": "module",
7
7
  "repository": {
@@ -158,7 +158,7 @@ export const createOrUpdateAttribute = async (
158
158
  finalAttribute.key,
159
159
  finalAttribute.size,
160
160
  finalAttribute.required || false,
161
- (finalAttribute.xdefault as string) || undefined,
161
+ finalAttribute.xdefault || undefined,
162
162
  finalAttribute.array || false,
163
163
  finalAttribute.encrypted
164
164
  )
@@ -171,7 +171,7 @@ export const createOrUpdateAttribute = async (
171
171
  collection.$id,
172
172
  finalAttribute.key,
173
173
  finalAttribute.required || false,
174
- (finalAttribute.xdefault as string) || undefined
174
+ finalAttribute.xdefault || undefined
175
175
  )
176
176
  );
177
177
  }