@azure/data-tables 13.0.0-alpha.20211109.2 → 13.0.0-alpha.20211109.5
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/CHANGELOG.md +3 -2
- package/dist/index.js +2 -5
- package/dist/index.js.map +1 -1
- package/dist-esm/src/models.js.map +1 -1
- package/dist-esm/src/serialization.js +2 -5
- package/dist-esm/src/serialization.js.map +1 -1
- package/package.json +1 -1
- package/types/3.1/data-tables.d.ts +1 -1
- package/types/latest/data-tables.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
-
## 13.0.0 (
|
|
3
|
+
## 13.0.0 (2021-11-09)
|
|
4
4
|
|
|
5
5
|
### Features Added
|
|
6
6
|
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
### Breaking Changes
|
|
11
11
|
|
|
12
|
-
- Encode single quote where the partition/row key is used to format the URL - i.e. upsert, update and delete. For more details see [#3356](https://github.com/Azure/azure-sdk/issues/3356)
|
|
12
|
+
- Encode single quote where the partition/row key is used to format the URL - i.e. upsert, update and delete. For more details see Issue [#3356](https://github.com/Azure/azure-sdk/issues/3356). Fixed in [#18520](https://github.com/Azure/azure-sdk-for-js/pull/18520)
|
|
13
|
+
- Setting a binary property on an entity without automatic type conversion takes raw string instead of Uint8Array [#18251](https://github.com/Azure/azure-sdk-for-js/pull/18251)
|
|
13
14
|
|
|
14
15
|
### Bugs Fixed
|
|
15
16
|
|
package/dist/index.js
CHANGED
|
@@ -4124,14 +4124,11 @@ function serializeObject(obj) {
|
|
|
4124
4124
|
obj.type === "Guid" ||
|
|
4125
4125
|
obj.type === "Int32" ||
|
|
4126
4126
|
obj.type === "Int64" ||
|
|
4127
|
-
obj.type === "String"
|
|
4127
|
+
obj.type === "String" ||
|
|
4128
|
+
obj.type === "Binary") {
|
|
4128
4129
|
serializedValue.value = obj.value;
|
|
4129
4130
|
serializedValue.type = Edm[obj.type];
|
|
4130
4131
|
}
|
|
4131
|
-
else if (obj.type === "Binary") {
|
|
4132
|
-
serializedValue.value = base64Encode(obj.value);
|
|
4133
|
-
serializedValue.type = Edm.Binary;
|
|
4134
|
-
}
|
|
4135
4132
|
else {
|
|
4136
4133
|
throw new Error(`Unknown EDM type ${typeof obj.value}`);
|
|
4137
4134
|
}
|