Socket
Socket
Sign inDemoInstall

@temporalio/common

Package Overview
Dependencies
Maintainers
4
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@temporalio/common - npm Package Compare versions

Comparing version 0.19.0-rc.1 to 0.19.0

3

lib/converter/data-converter.d.ts

@@ -7,3 +7,3 @@ import { PayloadCodec } from './payload-codec';

*
* The default `DataConverter` supports `Uint8Array`, and JSON serializables (so if
* The default `DataConverter` supports `undefined`, `Uint8Array`, and JSON serializables (so if
* [`JSON.stringify(yourArgOrRetval)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#description)

@@ -47,1 +47,2 @@ * works, the default data converter will work). Protobufs are supported via [this

}
export declare const defaultDataConverter: LoadedDataConverter;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultDataConverter = void 0;
const payload_codec_1 = require("./payload-codec");
const payload_converter_1 = require("./payload-converter");
exports.defaultDataConverter = {
payloadConverter: payload_converter_1.defaultPayloadConverter,
payloadCodec: payload_codec_1.defaultPayloadCodec,
};
//# sourceMappingURL=data-converter.js.map

@@ -1,3 +0,3 @@

import type * as iface from '@temporalio/proto/lib/coresdk';
export declare type Payload = iface.coresdk.common.IPayload;
import type { coresdk } from '@temporalio/proto/lib/coresdk';
export declare type Payload = coresdk.common.IPayload;
/**

@@ -4,0 +4,0 @@ * Transform an *ascii* string into a Uint8Array

@@ -62,3 +62,3 @@ import type { temporal } from '@temporalio/proto/lib/coresdk';

*
* The {@link type} property is used by {@link io.temporal.common.RetryOptions} to determine if
* The {@link type} property is used by {@link temporal.common.RetryOptions} to determine if
* an instance of this exception is non retryable. Another way to avoid retrying an exception of

@@ -65,0 +65,0 @@ * this type is by setting {@link nonRetryable} flag to `true`.

@@ -71,3 +71,3 @@ "use strict";

*
* The {@link type} property is used by {@link io.temporal.common.RetryOptions} to determine if
* The {@link type} property is used by {@link temporal.common.RetryOptions} to determine if
* an instance of this exception is non retryable. Another way to avoid retrying an exception of

@@ -202,2 +202,4 @@ * this type is by setting {@link nonRetryable} flag to `true`.

/\s+at Activator\.\S+NextHandler \(webpack-internal:\/\/\/.*\/internals\.[jt]s:\d+:\d+\)/,
/** Workflow run anything in context */
/\s+at Script\.runInContext/,
];

@@ -204,0 +206,0 @@ /**

{
"name": "@temporalio/common",
"version": "0.19.0-rc.1",
"version": "0.19.0",
"description": "Common library for code that's used across the Client, Worker, and/or Workflow",

@@ -15,3 +15,3 @@ "main": "lib/index.js",

"dependencies": {
"@temporalio/internal-workflow-common": "^0.19.0-rc.1",
"@temporalio/internal-workflow-common": "^0.19.0",
"proto3-json-serializer": "^0.1.6"

@@ -27,6 +27,6 @@ },

"devDependencies": {
"@temporalio/proto": "^0.19.0-rc.1",
"@temporalio/proto": "^0.19.0",
"protobufjs": "^6.11.2"
},
"gitHead": "186341ed7285e468c145121433f2c239e53934a6"
"gitHead": "02748d3fc3f321669ffa09f0ca012b81900b0fc0"
}

@@ -1,3 +0,3 @@

import { PayloadCodec } from './payload-codec';
import { PayloadConverter } from './payload-converter';
import { defaultPayloadCodec, PayloadCodec } from './payload-codec';
import { defaultPayloadConverter, PayloadConverter } from './payload-converter';

@@ -8,3 +8,3 @@ /**

*
* The default `DataConverter` supports `Uint8Array`, and JSON serializables (so if
* The default `DataConverter` supports `undefined`, `Uint8Array`, and JSON serializables (so if
* [`JSON.stringify(yourArgOrRetval)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#description)

@@ -50,1 +50,6 @@ * works, the default data converter will work). Protobufs are supported via [this

}
export const defaultDataConverter: LoadedDataConverter = {
payloadConverter: defaultPayloadConverter,
payloadCodec: defaultPayloadCodec,
};

@@ -1,5 +0,5 @@

import type * as iface from '@temporalio/proto/lib/coresdk';
import { TextEncoder, TextDecoder } from './encoding';
import type { coresdk } from '@temporalio/proto/lib/coresdk';
import { TextDecoder, TextEncoder } from './encoding';
export type Payload = iface.coresdk.common.IPayload;
export type Payload = coresdk.common.IPayload;

@@ -6,0 +6,0 @@ /**

@@ -82,3 +82,3 @@ import { checkExtends, hasOwnProperties, isRecord } from '@temporalio/internal-workflow-common';

*
* The {@link type} property is used by {@link io.temporal.common.RetryOptions} to determine if
* The {@link type} property is used by {@link temporal.common.RetryOptions} to determine if
* an instance of this exception is non retryable. Another way to avoid retrying an exception of

@@ -230,2 +230,4 @@ * this type is by setting {@link nonRetryable} flag to `true`.

/\s+at Activator\.\S+NextHandler \(webpack-internal:\/\/\/.*\/internals\.[jt]s:\d+:\d+\)/,
/** Workflow run anything in context */
/\s+at Script\.runInContext/,
];

@@ -232,0 +234,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc