2 Commits

Author SHA1 Message Date
nicwands
99d0c8935c 0.3.1 2026-03-02 11:55:28 -05:00
nicwands
debbd2c01f fix api version bug 2026-03-02 11:55:22 -05:00
3 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@takerofnotes/plugin-sdk", "name": "@takerofnotes/plugin-sdk",
"version": "0.3.0", "version": "0.3.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@takerofnotes/plugin-sdk", "name": "@takerofnotes/plugin-sdk",
"version": "0.3.0", "version": "0.3.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"zod": "^4.3.6" "zod": "^4.3.6"

View File

@@ -1,6 +1,6 @@
{ {
"name": "@takerofnotes/plugin-sdk", "name": "@takerofnotes/plugin-sdk",
"version": "0.3.0", "version": "0.3.1",
"description": "SDK to create a storage plugin for Taker of Notes", "description": "SDK to create a storage plugin for Taker of Notes",
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",

View File

@@ -1,4 +1,4 @@
import { validatePlugin } from './validatePlugin' import { SUPPORTED_API_VERSION, validatePlugin } from './validatePlugin'
export interface TestNote { export interface TestNote {
id: string id: string
@@ -39,7 +39,7 @@ export const runPluginTests = ({ plugin, adapter }: TestPluginOptions) => {
} }
}) })
it('should have correct apiVersion', () => { it('should have correct apiVersion', () => {
equal(plugin.apiVersion, '0.1.0') equal(plugin.apiVersion, SUPPORTED_API_VERSION)
}) })
}, },