@ai-matrx/records 0.83.2 → 0.84.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9997,7 +9997,8 @@ function recordingDataSource(source) {
9997
9997
  ...source.opensInOneCall ? { opensInOneCall: true } : {},
9998
9998
  rpc(fn, args, options) {
9999
9999
  return Promise.resolve(source.rpc(fn, args, options)).then((answer) => {
10000
- if (!answer.error && (options?.schema ?? "custom") === "custom") {
10000
+ const schema = options?.schema ?? "custom";
10001
+ if (!answer.error && (schema === "custom" || schema === "platform")) {
10001
10002
  for (const a of answersOf(fn, args, answer.data)) kept.set(seedKey(a.door, a.args), a);
10002
10003
  }
10003
10004
  return answer;