@shushed/helpers 0.0.124 → 0.0.125

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.d.ts CHANGED
@@ -35475,7 +35475,7 @@ declare class AirtableHelper<T extends Record<string, string>, K extends keyof T
35475
35475
  [prumaryKeyFieldName in K]: string;
35476
35476
  }): Promise<{
35477
35477
  id: string;
35478
- fields: { [key in T[keyof T]]: any; };
35478
+ fields: { [key in keyof T]: any; };
35479
35479
  }>;
35480
35480
  static removePrimaryKey(x: any, primaryKeyFieldId: string): any;
35481
35481
  static convertToDictionary<T extends Record<string, string>>(dictionary: T, x: Partial<{
@@ -35496,7 +35496,7 @@ declare class AirtableHelper<T extends Record<string, string>, K extends keyof T
35496
35496
  }): Promise<{
35497
35497
  id: string;
35498
35498
  fields: {
35499
- [key in T[keyof T]]: any;
35499
+ [key in keyof T]: any;
35500
35500
  };
35501
35501
  }>;
35502
35502
  getExistingRecord(payload: Partial<{
package/dist/index.js CHANGED
@@ -881,7 +881,7 @@ var PubSubHelper = class extends Runtime {
881
881
  body: messageBody,
882
882
  exportableToBigQuery: !!rawMessage.message?.attributes?.bigquery,
883
883
  extraAttributes: (0, import_lodash2.default)(rawMessage.message?.attributes || {}, ["source_system", "target_system", "process_started_at", "record_modified_at", "original_publish_time", "buildship_id", "publish_time", "bigquery"]),
884
- subscriptionName: rawMessage.message.subscription?.split("/").pop()
884
+ subscriptionName: rawMessage.subscription?.split("/").pop()
885
885
  };
886
886
  return message;
887
887
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shushed/helpers",
3
- "version": "0.0.124",
3
+ "version": "0.0.125",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",