hunk.code_window: ): {
     state: Ref<State<TContext, TEvent, any, TTypestate>>;
     send: Interpreter<TContext, any, TEvent, TTypestate>['send'];
     service: Interpreter<TContext, any, TEvent, TTypestate>;
   } {
     const service = useInterpret(machine, options, listener);
     const state = shallowRef(service.state);
     function listener(nextState: State<TContext, TEvent, any, TTypestate>) {
       // Only change the current state if:
       // - the incoming state is the "live" initial state (since it might have new actors)
       // - OR the incoming state actually changed.
  
hunk.labels: keep keep keep keep keep replace replace replace keep keep keep keep keep
hunk.after_edit:   const service = useInterpret(getMachine, options, listener);
     const { initialState } = service.machine;
     const state = shallowRef(
       (options.state ? State.create(options.state) : initialState) as State<
         TContext,
         TEvent,
         any,
         TTypestate
       >
     );
  
hunk.file_path: packages/xstate-vue/src/useMachine.ts
hunk.type: replace
file: {
    "name": "@xstate/fsm",
    "version": "1.6.0",
    "description": "XState for finite state machines",
    "keywords": [
      "state",
      "machine",
      "scxml",
      "state",
      "machine",
      "finite",
      "state",
      "machine",
      "fsm",
      "automata"
    ],
    "author": "David Khourshid <davidkpiano@gmail.com>",
    "homepage": "https://github.com/davidkpiano/xstate/tree/master/packages/xstate-fsm#readme",
    "license": "MIT",
    "main": "dist/xstate.fsm.js",
    "types": "lib/index.d.ts",
    "module": "es/index.js",
    "sideEffects": false,
    "files": [
      "dist/**/*.js",
      "dist/**/*.d.ts",
      "lib/**/*.js",
      "lib/**/*.d.ts",
      "es/**/*.js",
      "es/**/*.d.ts"
    ],
    "repository": {
      "type": "git",
      "url": "git+ssh://git@github.com/davidkpiano/xstate.git"
    },
    "scripts": {
      "clean": "rm -rf dist lib tsconfig.tsbuildinfo",
      "build": "rollup -c",
      "test": "jest",
      "prepublish": "npm run build"
    },
    "bugs": {
      "url": "https://github.com/davidkpiano/xstate/issues"
    },
    "devDependencies": {
      "jest": "^26.4.2",
      "lerna-alias": "3.0.3-0",
      "rollup": "^2.35.1",
      "rollup-plugin-filesize": "^6.2.1",
      "rollup-plugin-replace": "^2.2.0",
      "rollup-plugin-terser": "^5.1.2",
      "rollup-plugin-typescript2": "^0.29.0",
      "ts-jest": "^26.4.0",
      "typescript": "^4.1.2"
    }
  }
  