@go-avro/avro-js 0.0.2-beta.111 → 0.0.2-beta.112

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.
@@ -148,6 +148,9 @@ AvroQueryClient.prototype.useSyncBillToIntuit = function () {
148
148
  onMutate: async ({ billId }) => {
149
149
  await queryClient.cancelQueries({ queryKey: ['bill', billId] });
150
150
  const previousBill = queryClient.getQueryData(['bill', billId]);
151
+ if (previousBill) {
152
+ previousBill.intuit_id = "syncing";
153
+ }
151
154
  return { previousBill };
152
155
  },
153
156
  onError: (_err, variables, context) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@go-avro/avro-js",
3
- "version": "0.0.2-beta.111",
3
+ "version": "0.0.2-beta.112",
4
4
  "description": "JS client for Avro backend integration.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",