@anchan828/nest-cloud-run-queue-tasks-publisher 3.1.2 → 3.1.3
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CloudTasksClient } from "@google-cloud/tasks";
|
|
2
|
-
import {
|
|
2
|
+
import { PublishData, PublishOptions, TasksPublisherModuleOptions } from "./interfaces";
|
|
3
3
|
export declare class TasksPublisherService {
|
|
4
4
|
private readonly options;
|
|
5
5
|
private readonly client;
|
package/dist/publish.service.js
CHANGED
|
@@ -31,7 +31,7 @@ let TasksPublisherService = class TasksPublisherService {
|
|
|
31
31
|
...this.options.publishConfig,
|
|
32
32
|
...options,
|
|
33
33
|
httpRequest: {
|
|
34
|
-
body: Buffer.from(JSON.stringify({ message: taskMessage || {} })).toString("base64"),
|
|
34
|
+
body: Buffer.from(JSON.stringify({ message: taskMessage || {} }, this.options.extraConfig?.stringifyReplacer)).toString("base64"),
|
|
35
35
|
headers: {
|
|
36
36
|
"content-type": "application/json",
|
|
37
37
|
...options?.httpRequest?.headers,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anchan828/nest-cloud-run-queue-tasks-publisher",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "https://github.com/anchan828/nest-cloud-run-queue/tree/master/packages/pubsub-publish#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"watch": "tsc -w"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@anchan828/nest-cloud-run-queue-common": "^3.1.
|
|
36
|
+
"@anchan828/nest-cloud-run-queue-common": "^3.1.3",
|
|
37
37
|
"@google-cloud/tasks": "^5.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"packageManager": "npm@10.8.2",
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "c33cfa67028e79e9bf101108d7392e73ba26edca"
|
|
51
51
|
}
|