@drawbridge/drawbridge-utils 0.0.153 → 0.0.154

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.
@@ -4130,7 +4130,9 @@ var shopify_default2 = {
4130
4130
  enqueues: [{
4131
4131
  data: { product: productId, providerId, shop: connection2.shop },
4132
4132
  name: "workflow",
4133
- options: { jobId: "product.workflow.shopify." + providerId + "." + Date.now() },
4133
+ // The numeric id, not the gid: BullMQ refuses a custom id with a
4134
+ // colon in it, and every gid carries two.
4135
+ options: { jobId: "product.workflow.shopify." + context.id + "." + Date.now() },
4134
4136
  queue: "product.shopify"
4135
4137
  }],
4136
4138
  message: "Product sync queued from Shopify webhook.",
@@ -4828,7 +4828,9 @@ var shopify = {
4828
4828
  enqueues : [ {
4829
4829
  data : { product : productId, providerId, shop : connection.shop },
4830
4830
  name : 'workflow',
4831
- options : { jobId : 'product.workflow.shopify.' + providerId + '.' + Date.now() },
4831
+ // The numeric id, not the gid: BullMQ refuses a custom id with a
4832
+ // colon in it, and every gid carries two.
4833
+ options : { jobId : 'product.workflow.shopify.' + context.id + '.' + Date.now() },
4832
4834
  queue : 'product.shopify'
4833
4835
  } ],
4834
4836
  message : 'Product sync queued from Shopify webhook.',
@@ -4828,7 +4828,9 @@ var shopify = {
4828
4828
  enqueues : [ {
4829
4829
  data : { product : productId, providerId, shop : connection.shop },
4830
4830
  name : 'workflow',
4831
- options : { jobId : 'product.workflow.shopify.' + providerId + '.' + Date.now() },
4831
+ // The numeric id, not the gid: BullMQ refuses a custom id with a
4832
+ // colon in it, and every gid carries two.
4833
+ options : { jobId : 'product.workflow.shopify.' + context.id + '.' + Date.now() },
4832
4834
  queue : 'product.shopify'
4833
4835
  } ],
4834
4836
  message : 'Product sync queued from Shopify webhook.',
@@ -4054,7 +4054,9 @@ var shopify_default2 = {
4054
4054
  enqueues: [{
4055
4055
  data: { product: productId, providerId, shop: connection2.shop },
4056
4056
  name: "workflow",
4057
- options: { jobId: "product.workflow.shopify." + providerId + "." + Date.now() },
4057
+ // The numeric id, not the gid: BullMQ refuses a custom id with a
4058
+ // colon in it, and every gid carries two.
4059
+ options: { jobId: "product.workflow.shopify." + context.id + "." + Date.now() },
4058
4060
  queue: "product.shopify"
4059
4061
  }],
4060
4062
  message: "Product sync queued from Shopify webhook.",
@@ -4055,7 +4055,9 @@ var shopify_default2 = {
4055
4055
  enqueues: [{
4056
4056
  data: { product: productId, providerId, shop: connection2.shop },
4057
4057
  name: "workflow",
4058
- options: { jobId: "product.workflow.shopify." + providerId + "." + Date.now() },
4058
+ // The numeric id, not the gid: BullMQ refuses a custom id with a
4059
+ // colon in it, and every gid carries two.
4060
+ options: { jobId: "product.workflow.shopify." + context.id + "." + Date.now() },
4059
4061
  queue: "product.shopify"
4060
4062
  }],
4061
4063
  message: "Product sync queued from Shopify webhook.",
package/dist/providers.js CHANGED
@@ -4009,7 +4009,9 @@ var shopify_default2 = {
4009
4009
  enqueues: [{
4010
4010
  data: { product: productId, providerId, shop: connection2.shop },
4011
4011
  name: "workflow",
4012
- options: { jobId: "product.workflow.shopify." + providerId + "." + Date.now() },
4012
+ // The numeric id, not the gid: BullMQ refuses a custom id with a
4013
+ // colon in it, and every gid carries two.
4014
+ options: { jobId: "product.workflow.shopify." + context.id + "." + Date.now() },
4013
4015
  queue: "product.shopify"
4014
4016
  }],
4015
4017
  message: "Product sync queued from Shopify webhook.",
package/package.json CHANGED
@@ -216,5 +216,5 @@
216
216
  "prepublishOnly": ". \"$HOME/.nvm/nvm.sh\" && nvm use && tsup && node --test"
217
217
  },
218
218
  "types": "dist/index.d.ts",
219
- "version": "0.0.153"
219
+ "version": "0.0.154"
220
220
  }