@superdurable/connector-airtable 0.1.0 → 0.1.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/README.md CHANGED
@@ -50,6 +50,9 @@ next page cursor. Field values use Airtable's JSON cell types. A missing
50
50
  field means Airtable omitted an empty cell, while explicit JSON `null` clears
51
51
  one on write.
52
52
 
53
+ Failure and not-found branch results contain empty `records` and record ID
54
+ lists, and an empty `fields` map for a missing record.
55
+
53
56
  ## Verify
54
57
 
55
58
  ```sh
@@ -4,7 +4,7 @@
4
4
  "package": {
5
5
  "ecosystem": "npm",
6
6
  "name": "@superdurable/connector-airtable",
7
- "version": "0.1.0"
7
+ "version": "0.1.1"
8
8
  },
9
9
  "factories": [
10
10
  {
package/dist/index.js CHANGED
@@ -110,10 +110,10 @@ import { newMutationBranch, newMutationRetry, newQueryBranch, newQueryRetry } fr
110
110
  var baseIdPattern = /^app[0-9A-Za-z]{14}$/;
111
111
  var recordIdPattern = /^rec[0-9A-Za-z]{14}$/;
112
112
  var zeroTime = "0001-01-01T00:00:00Z";
113
- var zeroRecord = { id: "", createdTime: zeroTime, fields: null };
114
- var zeroPage = { records: null };
115
- var zeroUpserted = { records: null, createdRecordIds: null, updatedRecordIds: null };
116
- var zeroUpdated = { records: null };
113
+ var zeroRecord = { id: "", createdTime: zeroTime, fields: {} };
114
+ var zeroPage = { records: [] };
115
+ var zeroUpserted = { records: [], createdRecordIds: [], updatedRecordIds: [] };
116
+ var zeroUpdated = { records: [] };
117
117
  var ListRecordsOperation = class {
118
118
  /** Bind one authenticated client. */
119
119
  constructor(client) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdurable/connector-airtable",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Airtable record operations for Dex Flows",
5
5
  "repository": {
6
6
  "type": "git",