3 Commits

Author SHA1 Message Date
nicwands
40344e4e74 update supported version 2026-03-02 11:55:47 -05:00
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
4 changed files with 6 additions and 6 deletions

4
package-lock.json generated
View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
import { z } from 'zod'
export const SUPPORTED_API_VERSION = '0.3.0'
export const SUPPORTED_API_VERSION = '0.3.1'
const ConfigFieldSchema = z.object({
key: z.string(),