Skip to content

Commit

Permalink
refactor: rename methods
Browse files Browse the repository at this point in the history
  • Loading branch information
abrgr committed Oct 1, 2023
1 parent eb39e2e commit 5568027
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@statebacked/machine",
"version": "0.5.1",
"version": "0.6.0",
"description": "Useful types and utilities for defining StateBacked.dev machine definitions for the State Backed XState backend as a service",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/rt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export type SpawnOptions = {
* @param opts spawn options
* @returns A PersistentActorRef
*/
export const spawn = (
export const spawnPersistentInstance = (
instanceDescriptor: PersistentInstanceDescriptor,
opts?: SpawnOptions
): PersistentActorRef => {
Expand Down Expand Up @@ -99,7 +99,7 @@ export const spawn = (
* @param instanceDescriptor PersistentInstanceDescriptor
* @returns An object to be provided as the `src` property of an xstate invoke.
*/
export const invocableSource = (
export const persistentInvocableSource = (
instanceDescriptor: PersistentInstanceDescriptor
) => ({
type: "statebacked.invoke",
Expand Down

0 comments on commit 5568027

Please sign in to comment.