Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc for extracting fast-usdc #10989

Merged
merged 4 commits into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/base-zone/src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export {};
* @typedef {object} Stores
* @property {() => Stores} detached obtain store providers which are detached (the stores are anonymous rather than bound to `label` in the zone)
* @property {(specimen: unknown) => boolean} isStorable return true if the specimen can be stored in the zone, whether as exo-object state or in a store
* @property {(label: string, options?: StoreOptions) => MapStore<any, any>} mapStore provide a Map-like store named `label` in the zone
* @property {<K, V>(label: string, options?: StoreOptions) => MapStore<K, V>} mapStore provide a Map-like store named `label` in the zone
* @property {<K>(label: string, options?: StoreOptions) => SetStore<K>} setStore provide a Set-like store named `label` in the zone
* @property {<K, V>(
* label: string, options?: StoreOptions) => WeakMapStore<K, V>
Expand Down
1 change: 0 additions & 1 deletion packages/inter-protocol/src/price/fluxAggregatorKit.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ export const prepareFluxAggregatorKit = async (
const makeOracleAdminKit = prepareOracleAdminKit(baggage);

const makeRecorderKit = defineRecorderKit({
// @ts-expect-error XXX
makeDurablePublishKit,
makeRecorder,
});
Expand Down
4 changes: 1 addition & 3 deletions packages/notifier/src/publish-kit.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,15 +402,13 @@ const advanceDurablePublishKit = (context, value, targetStatus = 'live') => {
/**
* @param {import('@agoric/swingset-liveslots').Baggage} baggage
* @param {string} kindName
* @returns {<T>(options?: Parameters<typeof initDurablePublishKitState>[0]) => PublishKit<T>}
*/
export const prepareDurablePublishKit = (baggage, kindName) => {
// TODO: Once we unify with makePublishKit, we will use a Zone-compatible weak
// map for memoization.
const makeMemoizedUpdateRecord = makeUpdateRecordFromPublicationRecord;

/**
* @returns {() => PublishKit<*>}
*/
return prepareExoClassKit(
baggage,
kindName,
Expand Down
3 changes: 2 additions & 1 deletion packages/orchestration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@
"files": [
"*.js",
"*.ts",
"src"
"src",
"tools"
],
"publishConfig": {
"access": "public"
Expand Down
4 changes: 4 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"noUncheckedSideEffectImports": true,
"erasableSyntaxOnly": true,
"verbatimModuleSyntax": true,
// .ts and rewriting relative paths allow us to include in bundles
// files that are JS executable (with TS chars blanked) but end in .ts
"allowImportingTsExtensions": true,
"rewriteRelativeImportExtensions": true,
"noEmit": true
},
"include": [
Expand Down
Loading