Skip to content

Releases: spencerlepine/printify-sdk-js

v1.3.0

06 Jan 14:02
Compare
Choose a tag to compare

What's Changed

  • Added support for V2 endpoints.
  • Removed verbose stack trace from errors.

Full Changelog: v1.2.0...v1.3.0

https://www.npmjs.com/package/printify-sdk-js/v/1.3.0

v1.2.0

03 Jan 15:11
108af0a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1.2.0

Usage with TypeScript

import Printify from 'printify-sdk-js'; // >= v1.2.0
import type { ListWebhooksResponse, Webhook, Product } from 'printify-sdk-js'; // new

const printify = new Printify({ shopId: '123456', accessToken: process.env.PRINTIFY_API_TOKEN });

const result: ListWebhooksResponse = await printify.webhooks.list();
const webhook: Webhook = result[0];
console.log(webhook); // { "topic": "order:created", "url": "https://example.com/webhooks/order/created", "shop_id": "1", "id": "5cb87a8cd490a2ccb256cec4" }

v1.1.0

08 Nov 14:15
6f568d4
Compare
Choose a tag to compare

What's Changed

  • refactor: swap fetch to axios for security

Full Changelog: v1.0.2...v1.1.0

v1.0.2

24 Oct 18:46
Compare
Choose a tag to compare

[1.0.2] - 2024-10-24

Improved error log for easier debugging

Full Changelog: v1.0.1...v1.0.2

v1.0.1

29 Jul 16:03
Compare
Choose a tag to compare

[1.0.1] - 2024-07-29

Documentation update for TypeScript support

v1.0.0

26 Jul 17:11
Compare
Choose a tag to compare

[1.0.0] - 2024-07-26

Initial release for Printify API v1