Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ejson/src/ejson-payload-converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
PayloadConverterError,
} from '@temporalio/common';
import EJSON from 'ejson';
import { decode, encode } from '@temporalio/common/lib/encoding';
import { decode, encode } from '@temporalio/common/encoding';

/**
* Converts between values and [EJSON](https://docs.meteor.com/api/ejson.html) Payloads.
Expand Down
2 changes: 1 addition & 1 deletion encryption/src/encryption-codec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { webcrypto as crypto } from 'node:crypto';
import { METADATA_ENCODING_KEY, Payload, PayloadCodec, ValueError } from '@temporalio/common';
import { temporal } from '@temporalio/proto';
import { decode, encode } from '@temporalio/common/lib/encoding';
import { decode, encode } from '@temporalio/common/encoding';
import { decrypt, encrypt } from './crypto';

const ENCODING = 'binary/encrypted';
Expand Down
2 changes: 1 addition & 1 deletion protobufs/protos/root.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// pbjs -t json-module -w commonjs -o json-module.js protos/*.proto

// @@@SNIPSTART typescript-protobuf-root
const { patchProtobufRoot } = require('@temporalio/common/lib/protobufs');
const { patchProtobufRoot } = require('@temporalio/common/protobufs');
const unpatchedRoot = require('./json-module');
module.exports = patchProtobufRoot(unpatchedRoot);
// @@@SNIPEND
2 changes: 1 addition & 1 deletion protobufs/src/payload-converter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @@@SNIPSTART typescript-protobuf-converter
import { DefaultPayloadConverterWithProtobufs } from '@temporalio/common/lib/protobufs';
import { DefaultPayloadConverterWithProtobufs } from '@temporalio/common/protobufs';
import root from '../protos/root';

export const payloadConverter = new DefaultPayloadConverterWithProtobufs({ protobufRoot: root });
Expand Down
Loading