@iai-skunks/ml-registry-solana
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -14,5 +14,5 @@ "use strict"; | ||
const web3_js_1 = require("@solana/web3.js"); | ||
const states_1 = require("../src/states"); | ||
const custom_types_1 = require("./custom_types"); | ||
const instructions_1 = require("./instructions"); | ||
const states_1 = require("./states"); | ||
const utils_1 = require("./utils"); | ||
@@ -19,0 +19,0 @@ //////////////////////////////////////////////////////////// |
{ | ||
"name": "@iai-skunks/ml-registry-solana", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "SPL ML Model Registry/Inference JavaScript API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -0,1 +1,4 @@ | ||
## v0.4.1 | ||
- fix improper import of ModelState in bindings.ts | ||
## v0.4.0 | ||
@@ -2,0 +5,0 @@ - added fee payments per prediction |
@@ -9,6 +9,5 @@ import { | ||
import { ModelState } from "../src/states"; | ||
import { Numberu32, Numberu64 } from "./custom_types"; | ||
import { createInstruction, createPredictInstruction } from "./instructions"; | ||
import { ModelState } from "./states"; | ||
import { getHashedName } from "./utils"; | ||
@@ -30,3 +29,3 @@ | ||
* @param usageFee The set usage fee per prediction with the model | ||
* @param feeAccountKey The account for to where fees should be deposited | ||
* @param feeAccountKey The account for to where fees should be deposited | ||
* @param intercept The intercept coeff for the GLM. If not specifed, default to 0 | ||
@@ -103,3 +102,3 @@ * @param lamports The budget to be set for the name account. If not specified, it'll be the minimum for rent exemption | ||
* @param space The space in bytes allocated to the account | ||
* @param mlServiceKey The wallet to where all proportion of fees to service are deposited | ||
* @param mlServiceKey The wallet to where all proportion of fees to service are deposited | ||
* @param mlServiceCharge The percentage cut the service earns per prediction fee | ||
@@ -106,0 +105,0 @@ * @param lamports The budget to be set for the name account. If not specified, it'll be the minimum for rent exemption |
57339