diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 325660d..4099aa0 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -8,20 +8,20 @@ jobs: publish: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Enable Corepack - run: corepack enable - - name: Install Node - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: "pnpm" - - name: Install dependencies - run: pnpm install - - name: Build - run: pnpm build - - name: Publish to NPM - run: pnpm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} + - name: Checkout + uses: actions/checkout@v3 + - name: Enable Corepack + run: corepack enable + - name: Install Node + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: "pnpm" + - name: Install dependencies + run: pnpm install + - name: Build + run: pnpm build + - name: Publish to NPM + run: pnpm publish + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} diff --git a/package.json b/package.json index 494a1e4..af83054 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bambu-js", - "version": "1.1.0", + "version": "1.1.1", "description": "Tools to interact with Bambu Lab printers over MQTT and FTP.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/index.ts b/src/index.ts index 62add62..cba4d0c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,5 @@ import BambuPrinter from "./classes/BambuPrinter"; +import BambuState from "./interfaces/BambuState"; import * as errors from "./utilities/errors"; -export { BambuPrinter, errors }; +export { BambuPrinter, BambuState, errors };