Merge pull request #5910 from urbit/po/fix-term-export

api: fix `@urbit/api` `term` exports
This commit is contained in:
Patrick O'Sullivan 2022-07-25 13:14:37 -05:00 committed by GitHub
commit a46abb1a55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View File

@ -22,3 +22,5 @@ export * as hood from './hood';
export * from './hood'; export * from './hood';
export * as docket from './docket'; export * as docket from './docket';
export * from './docket'; export * from './docket';
export * as term from './term';
export * from './term';

View File

@ -1,12 +1,12 @@
{ {
"name": "@urbit/api", "name": "@urbit/api",
"version": "2.1.0", "version": "2.1.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@urbit/api", "name": "@urbit/api",
"version": "2.1.0", "version": "2.1.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.16.0", "@babel/runtime": "^7.16.0",

View File

@ -1,5 +1,4 @@
import { Scry } from '../http-api/src' import { Poke } from '../lib'
import { Poke } from '../http-api/src/types';
import { Belt, Task, SessionTask } from './types'; import { Belt, Task, SessionTask } from './types';
export const pokeTask = (session: string, task: Task): Poke<SessionTask> => ({ export const pokeTask = (session: string, task: Task): Poke<SessionTask> => ({